pub fn get_delegation(
    from: Address,
    to: Address
) -> Result<DelegationInfo, Error>
Expand description

Retrieve delegation metadata for a given (from, to) pair.

In case no delegation exists for the given (from, to) address pair, an all-zero delegation metadata are returned.