delegatedSendSponsoredTransaction signs an EIP-712 AuthorizedExecutions intent for a batch of calls, relays it to Dynamic’s sponsorship backend, and polls until the transaction lands on-chain. Use it when you hold a user’s delegated key share and want the transaction to be gas-sponsored.
EVM Gas Sponsorship is an enterprise-only feature and works with V3 MPC embedded wallets only.
Function signature
Parameters
Required
Optional
Each entry in
calls is a SponsoredTransactionCall:
Returns
Promise<{ transactionHash: Hex }> — the on-chain transaction hash once the relay reports success.
Example
Splitting sign and send
To sign in one process and relay from another, calldelegatedSignSponsoredTransaction first and pass the returned SignedSponsoredTransaction to sendSponsoredTransaction on a DynamicEvmWalletClient with userId.
Error handling
If sponsorship cannot go through,delegatedSendSponsoredTransaction throws. Wrap the call in a try/catch so you can surface a message and decide what to do next.
Related
delegatedSignSponsoredTransaction— sign a sponsored intent without relayingdelegatedSign7702Authorization— manage the one-time EIP-7702 delegation step- EVM Gas Sponsorship — full guide