cURL
curl --request POST \ --url https://grid.squads.xyz/api/grid/v1/accounts/{address}/proposals/{proposal_address}/vote-and-execute \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --header 'x-grid-environment: <x-grid-environment>' \ --data ' { "signers": [ "<string>" ], "feeConfig": "<unknown>" } '
{ "data": { "signers": [ "<string>" ], "transactions": [ "<string>" ] }, "metadata": { "request_id": "<string>", "timestamp": "2023-11-07T05:31:56Z" } }
Your Grid API key from the Grid Dashboard
Target Solana environment
Smart account address (Solana public key)
Proposal address (Solana public key)
Show child attributes
Vote and execute transaction(s) created successfully
Was this page helpful?