Skip to main content
POST
/
swap
/
execute
Execute swap
curl --request POST \
  --url https://api.onbeam.io/swap/execute \
  --header 'Content-Type: application/json' \
  --header 'x-api-key: <api-key>' \
  --data '
{
  "quoteId": "<string>",
  "permitsSigned": [
    "<string>"
  ],
  "idempotencyKey": "<string>"
}
'
{
  "status": "<string>",
  "transactionId": "<string>"
}

Authorizations

x-api-key
string
header
required

Body

application/json
quoteId
string
required
permitsSigned
string[]
idempotencyKey
string

Response

Swap submitted

status
string
required
Example:

"submitted"

transactionId
string