- wallet_getCapabilities
- wallet_sendCalls
- wallet_getCallsStatus
wallet_getCapabilities
This method queries the wallet for its supported execution capabilities. AppKit inspects the response to determine what features are supported by the wallet, including (but not limited to) atomic batch execution. Wallets should include the EIP-5792 capabilities in CAIP-25.wallet_sendCalls
Used to send one or more contract calls to the wallet for execution. The behavior depends on the specific capabilities returned by wallet_getCapabilities. For example:atomic: "supported"
-> The wallet guarantees atomic and contiguous execution.atomic: "ready"
-> The wallet may support atomic execution pending user action.atomic: "unsupported"
-> The wallet does not guarantee atomic execution.
atomicRequired
should be set to true only if the dApp requires atomic execution and the wallet has advertised support.
wallet_getCallsStatus
This method returns the status and receipt(s) of a previously submitted batch.-
The
batchId
field, returned from thewallet_sendCalls
will be used to identify the batch call. -
The
atomic
field specifies how the wallet handled the batch of calls, which affects the structure of thereceipts
field.
Response Example
-
if
atomic
is true, the batch was executed atomically by a wallet -
if
atomic
is false, the batch was executed non-atomically by a wallet