Agent Integrations

Build a cross-chain bridge transaction

Returns a deBridge order-creation quote plus an unsigned transaction for a cross-chain bridge. A 1% affiliate fee (configurable) is injected and collected on-chain by deBridge on the source chain.

post/agent-integrations/crypto/bridge

Request

  • Base URL: https://api.tinyhumans.ai
  • URL: https://api.tinyhumans.ai/agent-integrations/crypto/bridge
  • Auth: HTTP bearer

Request body

srcChainIdinteger required

Source deBridge chain id

srcChainTokenInstring required

Source token address

srcChainTokenInAmountstring required

Source amount in the token's smallest unit

dstChainIdinteger required

Destination deBridge chain id

dstChainTokenOutstring required

Destination token address

dstChainTokenOutAmountstring

Destination amount, or "auto" for market rate (default "auto")

dstChainTokenOutRecipientstring required

Address that receives the bridged tokens

srcChainOrderAuthorityAddressstring required

Source-chain order authority (can cancel/patch the order)

dstChainOrderAuthorityAddressstring required

Destination-chain order authority

Response

Quote and unsigned transaction with injected fee

Changes

No recorded changes to this operation across all 1 revision of this API.