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",
"policies": {
"signers": [
{
"address": "<string>",
"permissions": [
"CAN_INITIATE"
],
"role": "primary",
"provider": "privy"
}
],
"threshold": 1,
"admin_address": "<string>",
"time_lock": 1
},
"status": "<string>",
"type": "<string>",
"updated_at": "2023-11-07T05:31:56Z",
"email": "<string>"
},
"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",
"policies": {
"signers": [
{
"address": "<string>",
"permissions": [
"CAN_INITIATE"
],
"role": "primary",
"provider": "privy"
}
],
"threshold": 1,
"admin_address": "<string>",
"time_lock": 1
},
"status": "<string>",
"type": "<string>",
"updated_at": "2023-11-07T05:31:56Z",
"email": "<string>"
},
"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)
Smart account details retrieved successfully
Show child attributes
Show child attributes
Show child attributes
CAN_INITIATE, CAN_VOTE, CAN_EXECUTE primary, backup privy, dynamic, passkey, turnkey, external x >= 0x >= 0Was this page helpful?