cURL
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 } ]
Register transactions for indexing. Mandatory for alt-vm transactions. Optional for any named VM.
alt-vm
Limited demo key for API Playground: 5c951bc81da566bbd030ba8e20724063.
5c951bc81da566bbd030ba8e20724063
Transaction registration results
The response is of type object[].
object[]