Skip to main content

Function Signature

Description

Builds the revocation transaction(s), then signs and broadcasts each one in order and returns the resulting hashes. The wallet’s signer is wired up for you, and EVM and Solana chains are routed to eth_sendTransaction and sol_signAndSendTransaction respectively.
This method returns as soon as each transaction is accepted by the network. It does not wait for on-chain confirmation — a returned hash means the transaction was submitted, not that it succeeded. Poll delegations.getStatus if you need to confirm the delegation is gone.
Use delegations.revoke instead when you need to inspect, modify, or sign the transaction yourself.

Parameters

See delegations.approveAndSubmit for the DelegationSubmitProgress fields.

Returns

List<String> — One transaction hash per broadcast transaction, in submission order. Most delegation flows produce a single transaction, so the list usually has one element.

Example

EVM

Solana

Errors

All failures throw a PortalException.