Wallet

Record a submitted on-chain transaction

Records the on-chain submission against a pending, unexpired intent and marks it executed (single-use replay protection). Submission itself happens through the SDK/adapter.

POST
/wallet/transactions/submit

Records the on-chain submission against a pending, unexpired intent and marks it executed (single-use replay protection). Submission itself happens through the SDK/adapter.

Authorization

cookieAuth
pid_access<token>

JWT access token set by /auth/google/callback or /auth/refresh

In: cookie

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

application/json

application/json

application/json

curl -X POST "https://example.com/wallet/transactions/submit" \  -H "Content-Type: application/json" \  -d '{    "intentId": "9b966aba-7d18-4a93-b6a8-43845b096776",    "txHash": "string"  }'
{  "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",  "intentId": "9b966aba-7d18-4a93-b6a8-43845b096776",  "chain": "string",  "network": "string",  "txHash": "string",  "status": "prepared",  "createdAt": "2019-08-24T14:15:22Z"}