Custody providers
Register Squads Custody Wallets
Derives Squads V4 vault PDAs from the org multisig and registers them as SOLANA custody wallets, reviving soft-deleted rows.
POSThttps://api.toku.com/tga/register-squads-custody-wallets
Not available to API keys yet. It will need wallets:write.
curl --request POST \
--url 'https://api.toku.com/tga/register-squads-custody-wallets' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"vaults": [
{
"vaultIndex": 0,
"walletName": "string"
}
]
}'200 response
{
"wallets": [
{
"custodyWalletID": "string",
"walletAddress": "string",
"vaultIndex": 0,
"walletName": "string"
}
],
"feePayerWarning": "string",
"displacedAllocationCount": 0
}Authorizations
AuthorizationstringheaderrequiredBearer authentication header of the form Bearer <token>, where <token> is an access token from a Toku sign-in. See Authentication in the API reference.
Body
application/json
vaultsobject[]requiredNOTE(ck): a .refine() rule is not mirrored here; TGA still enforces it
Allowed: 1 to 50 items
Show child attributes
vaultIndexintegerrequiredAllowed: 0 to 255
walletNamestringrequiredAllowed: 1 to 255 characters
Response
200Successful response
walletsobject[]requiredShow child attributes
custodyWalletIDstringrequiredwalletAddressstringrequiredvaultIndexintegerrequiredwalletNamestringrequiredfeePayerWarningstring | nullrequireddisplacedAllocationCountintegerrequired400Bad request
401Unauthorized
403Forbidden
404Not found
409Conflict
429Response 429
Was this page helpful? Suggest edits