curl --request POST \
--url https://grid.squads.xyz/api/grid/v1/accounts/{address}/passkeys/transaction \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"passkey": {
"address": "<string>",
"permissions": [
"CAN_INITIATE"
],
"role": "<string>"
},
"transaction_signers": [
"<string>"
]
}
'{
"data": {
"expires_at": "2023-11-07T05:31:56Z",
"passkey": {
"address": "<string>",
"permissions": [
"CAN_INITIATE"
],
"provider": "<string>",
"role": "<string>"
},
"status": "<string>",
"threshold": 1,
"transaction": "<string>"
},
"metadata": {
"request_id": "<string>",
"timestamp": "2023-11-07T05:31:56Z"
}
}curl --request POST \
--url https://grid.squads.xyz/api/grid/v1/accounts/{address}/passkeys/transaction \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"passkey": {
"address": "<string>",
"permissions": [
"CAN_INITIATE"
],
"role": "<string>"
},
"transaction_signers": [
"<string>"
]
}
'{
"data": {
"expires_at": "2023-11-07T05:31:56Z",
"passkey": {
"address": "<string>",
"permissions": [
"CAN_INITIATE"
],
"provider": "<string>",
"role": "<string>"
},
"status": "<string>",
"threshold": 1,
"transaction": "<string>"
},
"metadata": {
"request_id": "<string>",
"timestamp": "2023-11-07T05:31:56Z"
}
}Your Grid API key from the Grid Dashboard
Smart account address (Solana public key)
Whether to perform admin-level passkey addition
Passkey transaction created successfully
Show child attributes
x >= 0Was this page helpful?