Skip to Content
XebraDocs
APIClaims

Build a claim

The unsigned mint for a transfer whose delivery did not complete, checked so that a mint already made or one that would fail is refused before anyone pays.

Requests go to mainnet

Building a transfer never sends it. Nothing moves until a wallet signs the steps and someone submits them.
POST
/v1/claims

The unsigned mint for a transfer whose delivery did not complete, checked so that a mint already made or one that would fail is refused before anyone pays.

Request Body

application/json
  1. body
chain*ChainId

The chain the burn was made on.

Value in"stellar""solana""sui""avalanche""optimism""arbitrum""base""polygon""unichain""codex""sonic""worldchain""monad""sei""xdc""hyperevm""ink""arc"
tx*string
Length1 <= length <= 128
payer*string

Pays the destination's fee and signs.

Length1 <= length <= 128
recipientOwner?string

Solana only: the wallet that owns the recipient's USDC account, when it must be opened.

Length1 <= length <= 128

Response Body

The steps to sign.

application/json
  1. response
steps*array<>
Items1 <= items
Example Request
curl -X POST 'https://api.xebra.exchange/v1/claims' \  -H 'Content-Type: application/json' \  -d '{  "chain": "stellar",  "tx": "string",  "payer": "string"}'
Example Response
{  "steps": [    {      "id": "approve",      "chain": "stellar",      "description": "string",      "tx": {        "kind": "stellar",        "xdr": "string",        "networkPassphrase": "string"      },      "expiresAt": "2019-08-24T14:15:22Z"    }  ]}