Update gas sponsorship allowance

/v4/wallets/gas-sponsorship/chains/{chain}

0 credits per API call

Sets the gas sponsorship allowance for one chain. value is the per-period limit in the
chain's native currency base units (wei, lamports, ...) as a decimal string. Set it to 0
to stop sponsoring gas on that chain.

Gas sponsorship requires account abstraction. Until it is enabled
(PUT /v4/wallets/enable-account-abstraction), the request is rejected with
400 wallets.account.abstraction.not.enabled. When gas sponsorship is not available for the
account, the request is rejected with 403 wallets.gas.sponsorship.unavailable; contact
support to have it enabled.

An account blocked for exceeded usage is rejected with 403 wallets.custodian.account.blocked.
While an account is blocked,
listing and reading clients, creating client session tokens, enabling eject, reading
ejectable backup shares and GET /v4/wallets/account stay available so wallets can always
be ejected.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
string
enum
required

Tatum chain identifier. Archive variants (-archive) of the listed chains are accepted and
resolved to their base chain. Any other value is rejected with
400 wallets.portal.chain.unsupported.

Body Params
string
required

New per-period sponsorship limit in the chain's native base units (wei, lamports, ...),
as a decimal number string. 0 disables sponsorship on that chain.

Responses

Language
Credentials
Header
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json