API Reference
Bridge session webhook
Information about a new bridge session created
WEBHOOK
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Body
application/json
Bridge session created
Unique session identifier
Bridge direction
Available options:
ethereum-to-stacks, stacks-to-ethereum Amount to bridge
Current bridge status
Available options:
initiated, wallet-created, awaiting-deposit, deposit-confirmed, approving, depositing, minting, gas-sent, burning, completed, withdrawing, failed Ethereum address involved in bridge
Stacks address involved in bridge
Deposit transaction hash
Burn transaction hash
Gas transaction hash
Session creation timestamp (ms)
Last update timestamp (ms)
Error message if bridge failed
Response
200
Return a 200 status to indicate that the data was received successfully
