Skip to main content
POST
/
save-transaction
Save transaction hash
curl --request POST \
  --url https://api.leokit.dev/save-transaction \
  --header 'Api-Key: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "quote_id": "01936b4a-7c8e-7890-abcd-ef1234567890",
  "tx_hash": "0xa1b2c3d4e5f67890abcdef1234567890abcdef1234567890abcdef1234567890"
}
'
{
  "message": "Transaction saved successfully"
}

Authorizations

Api-Key
string
header
required

Demo API-Key (Sandbox): 7037d2b3-9c76-4f62-b730-c544f7570fa4

Body

application/json
quote_id
string<uuid>
required

Quote ID from /quote

tx_hash
string
required

Transaction hash from blockchain

Response

Transaction saved successfully

message
string