bridge

Get Signature

Retrieves the signature and transaction metadata for a cross-chain swap identified by its transaction hash. The response includes chain IDs, locked token amounts, the recipient address, and a cryptographic signature, enabling dApps to validate or finalize the swap on the destination chain.

💡 Compute Unit Value: 40 (Fixed)

get/defi/v1/bridge/getsignature

Request

  • Base URL
    https://svc.blockdaemon.com
  • URL
    https://svc.blockdaemon.com/defi/v1/bridge/getsignature
  • Auth
    API key in header X-API-Key

Query parameters

bridgeId'300'

The unique ID to specify the bridge protocol for routing cross-chain queries or transactions. Find more here.

Example:300
transactionHashstring required

The unique identifier (hash) of the blockchain transaction.

Example:0x7a69b73a9617b13663c5db08b0e371866b7bbf2b49866e61c2fe8303e07f7094

Response

Successful response

statusinteger
msgstring
dataobject

Example response

{
  "status": 200,
  "msg": "success",
  "data": {
    "block": "19912625",
    "lockId": "1560796505155024044581883139481320798",
    "srcChainId": "1",
    "dstChainId": "56",
    "srcToken": "0xa11bd36801d8fa4448f0ac4ea7a62e3634ce8c7c000000000000000000000000",
    "amount": "4720825560495",
    "receiver": "0x65a8f07bd9a8598e1b5b6c0a88f4779dbc077675",
    "primarySignature": "0x2731e3f1a9385f1fec164b4e4c5745763faddfdc544c725bed6dc64ae1fc8758787250ccb12467ee27c6aa2c6b331ea483104bdb5aeba802f7f50d9f31580d851c"
  }
}

Changes

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