Benefits
- Gas abstraction — whereby users can pay for network gas in a variety of tokens (ie. USDC, DAI, etc.)
- Sponsored gas — projects may sponsor the gas of specific contracts to allow free gas for their users
- Batched transactions — group a bunch of independent transactions and allow them to be mined as a single transaction
- Parallel transactions — parallelize the dispatch of transactions in some cases
- Fire + forget model — easily send transactions to the transactions api which will automatically manage nonces, bump gas, and other features which will ensure fast delivery
- Optimal gas pricing for transactions — will be attempted once and if not included from the mempool within 3 blocks, the transaction will be resubmitted
Anatomy of a Sequence transaction bundle
A Sequence transaction bundle consists of three things:- A list of Sequence transactions
- A Sequence nonce
- A Sequence signature
Gas sponsorship and fees
The transactions api only dispatches transactions that either:- Are sponsored in a project via the Sequence Builder, or
- Include a fee payment transaction to the transactions api.
- Sequence wallets, so that they can send transactions without needing to pay fees,
- Token addresses, so that any user can send those tokens for free,
- Contracts, so that any user can interact with them for free,
- Arbitrary addresses, so that any user can transfer native tokens to it for free.
/FeeTokens
endpoint for the network you are interested in:
[cURL]