Skip to main content
Function Signature
Description Builds the transfer transaction(s) for a delegated transfer, then signs and broadcasts each one sequentially and returns the resulting transaction hashes. Your wallet must already be an approved delegate for fromAddress, and the amount must not exceed the approved allowance. This replaces calling transferFrom and signing the returned transactions yourself.
transferAndSubmit broadcasts each transaction and returns as soon as it is accepted by the network. It does not wait for on-chain confirmation. A hash in DelegationSubmitResult.hashes means the transaction was submitted, not that it succeeded — the transfer can still revert, for example if the allowance is insufficient. Wait for the receipt yourself before treating the tokens as moved.
Parameters TransferFromRequest: DelegationSubmitOptions: Returns A DelegationSubmitResult containing: Throws Example Usage
Delegation roles: fromAddress is the token owner who approved the delegation. Your wallet — the delegate — signs the transaction that moves tokens from the owner to toAddress.
Related Documentation