build_sign_in_payload
Build the encrypted sign-in computedData payload from raw GDEX credentials, then return it for use with managed_sign_in.
Instructions
Build the encrypted sign-in computedData payload from raw credentials. Returns the payload to use with managed_sign_in.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"apiKey": "<apiKey>",
"userId": "<userId>",
"sessionKey": "<sessionKey>",
"nonce": "<nonce>",
"signature": "<signature>"
},
"name": "build_sign_in_payload"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| nonce | Yes | Unique nonce string | |
| apiKey | Yes | GDEX API key | |
| userId | Yes | Control wallet address | |
| signature | Yes | EVM/Solana wallet signature of the sign-in message | |
| sessionKey | Yes | Session public key (0x + 66 hex) | |
| refSourceCode | No | Optional referral code |