POST
/
registerTxs
Register Transaction
curl --request POST \
  --url https://api-v2.swaps.xyz/api/registerTxs \
  --header 'Content-Type: application/json' \
  --header 'x-api-key: <api-key>' \
  --data '{
  "txId": "0x49b1d3d38176e45864fd55500c6c1879ab318609e1ed0c8eb9abd818e6c811fd",
  "vmId": "evm",
  "txHash": "0x62d0e13123852791446c6f923c2d0b9247bda10f1eb5eb48ff5b4bc42d22ab42",
  "chainId": 42161
}'
[
  {
    "success": true,
    "error": null
  }
]

Authorizations

x-api-key
string
header
required

Limited demo key for API Playground: 5c951bc81da566bbd030ba8e20724063.

Body

application/json

Response

200 - application/json

Transaction registration results

The response is of type object[].