Skip to main content
POST
/
smartwallet
wallet_getCapabilities
curl --request POST \
  --url https://api.gelato.digital/smartwallet \
  --header 'Content-Type: application/json' \
  --data '{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "wallet_getCapabilities",
  "params": [
    {
      "chainIds": [
        123
      ]
    }
  ]
}'
{
  "id": 1,
  "jsonrpc": "2.0",
  "result": {}
}

Query Parameters

apiKey
string

API key for authentication.

Body

application/json
id
number
default:1
jsonrpc
string
default:2.0
method
string
default:wallet_getCapabilities
params
GetCapabilitiesParams · object[]

Array containing a single GetCapabilitiesParams object

Required array length: 1 element

Response

Successful response

id
number
default:1
jsonrpc
string
default:2.0
result
object

Object mapping chain IDs to their capabilities