Treasury
Sign withdrawal step
Submit a signature for a self-custodial wallet-source withdrawal step. Webhook updates will be sent as the signature is validated and submitted onchain.
post/v1/treasury/withdrawals/{id}/steps/{stepId}/sign
Request
- Base URLhttps://api.tesser.xyz
- AuthHTTP bearer
- TypeScripthttps://skmtc.dev/tesser/apis/tesser-api/docs/v1/treasury/withdrawals/:id/steps/:stepId/sign/post.tsA function with typed inputs. Its response is checked against the schema.
Path parameters
idstring required
Withdrawal ID
stepIdstring required
Withdrawal step ID
Request body
Response
Signature accepted. In turn: the wallet step (step_sequence 1) is confirmed with its broadcast transaction_hash; finality and the payout step (step_sequence 2) follow asynchronously. Queued behind an earlier nonce from the same wallet: the wallet step is signed with transaction_hash null until it broadcasts.
Example response
{
"data": {
"id": "6a2f8c1e-3b9d-4e74-b5a0-7c4d2e1f9b3a",
"workspace_id": "b53f6690-3242-4942-9907-885779632832",
"direction": "outbound",
"balance_status": "unreserved",
"steps": [],
"created_at": "2024-03-01T10:00:00.000Z",
"updated_at": "2024-03-01T10:00:00.000Z",
"expires_at": "2024-03-01T14:00:00.000Z"
}
}Changes
No recorded changes to this operation across all 1 revision of this API.