Select the delegate
ReplaceSIGNER_PRIVATE_KEY with the delegate’s key. Keep RPC_URL, the wallet’s
config ACCOUNT_ADDRESS, and the delegate’s ROLE_ID selected.
Before sending:
- Set
RECIPIENTto an EOA with no deployed code. The example sends no calldata. - Set
VALUE_WEIto a positive amount within the remaining role allowance. - Ensure
vaultAddressholds at leastVALUE_WEI. - Fund the delegate EOA separately so it can pay gas.
VALUE_WEI=7 leaves 93 wei
after a successful transfer.
Send the transfer
transactionHash.
If an included transaction reverts, its asset movement and allowance changes
revert too, but the delegate still pays gas.
For a paymaster-funded gas flow, continue to
Send a Sponsored Transfer.
Full examples: TypeScript,
Rust,
Python.
