Authorizations
Your Grid API key from the Grid Dashboard
Headers
Solana network environment (sandbox, devnet, mainnet)
Path Parameters
Smart account address (Solana public key)
curl --request GET \
--url https://grid.squads.xyz/api/grid/v1/accounts/{address} \
--header 'Authorization: Bearer <token>' \
--header 'x-grid-environment: <x-grid-environment>'{
"data": {
"address": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"email": "<string>",
"policies": {
"admin_address": "<string>",
"signers": [
{
"address": "<string>",
"permissions": [
"CAN_INITIATE"
],
"provider": "privy",
"role": "primary"
}
],
"threshold": 1,
"time_lock": 1
},
"status": "<string>",
"type": "<string>",
"updated_at": "2023-11-07T05:31:56Z"
},
"metadata": {
"request_id": "<string>",
"timestamp": "2023-11-07T05:31:56Z"
}
}curl --request GET \
--url https://grid.squads.xyz/api/grid/v1/accounts/{address} \
--header 'Authorization: Bearer <token>' \
--header 'x-grid-environment: <x-grid-environment>'{
"data": {
"address": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"email": "<string>",
"policies": {
"admin_address": "<string>",
"signers": [
{
"address": "<string>",
"permissions": [
"CAN_INITIATE"
],
"provider": "privy",
"role": "primary"
}
],
"threshold": 1,
"time_lock": 1
},
"status": "<string>",
"type": "<string>",
"updated_at": "2023-11-07T05:31:56Z"
},
"metadata": {
"request_id": "<string>",
"timestamp": "2023-11-07T05:31:56Z"
}
}Your Grid API key from the Grid Dashboard
Solana network environment (sandbox, devnet, mainnet)
Smart account address (Solana public key)
Was this page helpful?