Skip to content
For the complete documentation index, see llms.txt. This page is also available as Markdown.

Create Cross-Chain Transfer From Quote

Create Cross-Chain Transfer from Quote

post
/v0/customers/{customer_id}/cross-chain-transfer/quote/{quote_id}
Authorizations
Api-KeystringRequired
Path parameters
customer_idstring · uuidRequired

The unique identifier of the customer

quote_idstring · uuidRequired

The unique identifier of the quote to use for the transfer

Body
destination_addressstringRequired

The destination address where the tokens will be sent

Example: 0x742d35Cc6634C0532925a3b8D4C9db96c4b4d8b
Responses
200

Successful creation of Cross-Chain Transfer from quote

application/json
idstring · uuidOptional

The unique identifier for the cross-chain transfer

statusstring · enumOptional

The current status of the cross-chain transfer

Possible values:
amountstring · decimalOptional

The amount of the cross-chain transfer as a numeric string

Pattern: ^[0-9]+(\.[0-9]+)?$
source_networkstring · enumOptional

The blockchain network for the source

Possible values:
source_tokenstring · enumOptional

The token for the source

Possible values:
source_addressstring · nullableOptional

The blockchain address from which the funds will be sent

destination_networkstring · enumOptional

The blockchain network for the destination

Possible values:
destination_tokenstring · enumOptional

The token for the destination

Possible values:
destination_addressstringOptional

The blockchain address where the funds will be sent

post/v0/customers/{customer_id}/cross-chain-transfer/quote/{quote_id}
POST /v0/customers/{customer_id}/cross-chain-transfer/quote/{quote_id} HTTP/1.1
Host: api.alignlabs.dev
Api-Key: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 67

{
  "destination_address": "0x742d35Cc6634C0532925a3b8D4C9db96c4b4d8b"
}
{
  "id": "123e4567-e89b-12d3-a456-426614174000",
  "status": "pending",
  "amount": "text",
  "source_network": "polygon",
  "source_token": "usdc",
  "source_address": "text",
  "destination_network": "polygon",
  "destination_token": "usdc",
  "destination_address": "text",
  "quote": {
    "deposit_token": "usdc",
    "deposit_address": "text",
    "deposit_network": "polygon",
    "deposit_amount": "text",
    "fee_amount": "text"
  }
}

Last updated