Delegate an amount to a validator. The promise settles when the delegation is complete.
the validator to delegate to
the amount to delegate
void
deposit payment from zoe to the account. For remote accounts, an IBC Transfer will be executed to transfer funds there.
the address of the account on the remote chain
the balance of a specific denom for the account.
an array of amounts for every balance in the account.
the underlying low-level operation object.
the active delegation from the account to a specific validator. Return an empty Delegation if there is no delegation.
TODO what does it return if there's no delegation?
all active delegations from the account to any validator (or [] if none)
Optional
dstValidator: ValidatorAddressGet the rewards pending with a specific validator.
the validator address to query for
the amount of the account's rewards pending from a specific validator
Get the pending rewards for the account.
the amounts of the account's rewards pending from all validators
the unbonding delegations from the account to a specific validator (or [] if none)
the unbonding delegations from the account to any validator (or [] if none)
Redelegate from one delegator to another. Settles when teh redelegation is established, not 21 days later.
the current validator for the delegation.
the validator that will receive the delegation.
how much to redelegate.
Transfer amount to another account on the same chain. The promise settles when the transfer is complete.
the account to send the amount to. MUST be on the same chain
the amount to send
void
Transfer an amount to another account, typically on another chain. The promise settles when the transfer is complete.
the amount to transfer.
the account to transfer the amount to.
Optional
memo: stringan optional memo to include with the transfer, which could drive custom PFM behavior
void
TODO document the mapping from the address to the destination chain.
Transfer an amount to another account in multiple steps. The promise settles when the entire path of the transfer is complete.
the amount to transfer
the transfer message, including follow-up steps
void
Undelegate a delegation. The promise settles when the undelegation is complete.
the delegation to undelegate
void
Undelegate multiple delegations (concurrently). The promise settles when all the delegations are undelegated.
TODO: document error behavior in case some unbondings fail
Withdraw rewards from a specific validator. The promise settles when the rewards are withdrawn.
the validator to withdraw rewards from
Withdraw rewards from all validators. The promise settles when the rewards are withdrawn.
The total amounts of rewards withdrawn
An object that supports high-level operations for an account on a remote chain.