Skip to main content
Function Signature
Description Builds the revocation transaction(s) for a token delegation, then signs and broadcasts each one sequentially and returns the resulting transaction hashes. This replaces calling revoke and signing the returned transactions yourself.
revokeAndSubmit 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 revocation can still revert, and the delegation may still be active when this call returns. Poll getStatus before telling a user their delegation is gone.
Parameters RevokeDelegationRequest: DelegationSubmitOptions: Returns A DelegationSubmitResult containing: Throws Example Usage
Related Documentation