Swaps
Swap created
Fired when a wallet action is created and execution has begun. The action is now pending.
WEBHOOK
Body
application/json
Payload for the wallet_action.swap.created webhook event.
The type of webhook event.
Available options:
wallet_action.swap.created The ID of the wallet action.
The ID of the wallet involved in the action.
Type of wallet action
Available options:
swap, transfer, earn_deposit, earn_withdraw, earn_incentive_claim ISO 8601 timestamp of when the wallet action was created.
Chain identifier.
Token address being sold.
Token address being bought.
Amount of input token in base units. Populated after onchain confirmation.
The status of the wallet action.
Available options:
pending Response
200
Return a 200 status to indicate that the webhook was received successfully.

