POST
/
v1
/
single-chain
/
execute
Authorization
Body
curl --request POST \
  --url https://api.peaze.com/api/v1/single-chain/execute \
  --header 'Content-Type: application/json' \
  --header 'X-Api-Key: <x-api-key>' \
  --data '{
  "quote": {
    "fundingTypedData": {
      "domain": {
        "name": "<string>",
        "verifyingContract": "<string>",
        "version": "<string>"
      },
      "primaryType": "<string>"
    },
    "general": {
      "destinationChain": 1,
      "gasUsedOnDst": "<string>",
      "hmac": "<string>",
      "quoteDeadline": "<string>",
      "sourceChain": 1,
      "sourceToken": "0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48",
      "txValue": "<string>"
    },
    "peazeTypedData": {
      "domain": {
        "name": "<string>",
        "verifyingContract": "<string>",
        "version": "<string>"
      },
      "primaryType": "<string>"
    }
  },
  "signatures": {
    "fundingSignature": "0x0c815ebd43a1029b441ae7608231cfa2826e8b87630c472a30e839e8f48f1dfd598e5677a67e98b76d8563f83474c046ccbdca8bfefa8c88fbc80f3a266cacfd1b",
    "peazeSignature": "0x0c815ebd43a1029b441ae7608231cfa2826e8b87630c472a30e839e8f48f1dfd598e5677a67e98b76d8563f83474c046ccbdca8bfefa8c88fbc80f3a266cacfd1b"
  }
}'
{
  "blockExplorerUrl": "<string>",
  "destinationChain": 1,
  "sourceChain": 1,
  "transactionHash": "0x2901320",
  "transactionId": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}

Authorizations

X-Api-Key
string
headerrequired

Body

application/json
quote
object
required

The Peaze quote for the requested transaction.

signatures
object
required

Response

200 - application/json
blockExplorerUrl
string
required

The block explorer URL for the transaction.

destinationChain
enum<number>
required

The chain ID of the transaction

Available options:
1,
137,
10,
8453,
42161,
421613
sourceChain
enum<number>
required

The chain ID of the transaction.

Available options:
1,
137,
10,
8453,
42161,
421613
transactionHash
string
required

The transaction hash.

transactionId
string
required

The transaction ID.