/api/v1/router/swap/submit

Input
Description
Examples

signedTransactions

List if signed transactions by user

Output
Description
Examples

transactionId

Transaction signature

slot

Transaction slot

poolId

Address of the pool that used for the swap

platform

Pool's platform

tokenIn

Token in information

tokenOut

Token out information

tokenInAmount

Raw token in amount

tokenOutAmount

Raw token out amount

createdAt

Unix timestamp

post
Body
signedTransactionsstring[]Optional
Responses
post
/api/v1/router/swap/submit
POST /api/v1/router/swap/submit HTTP/1.1
Host: 
Content-Type: application/json
Accept: */*
Content-Length: 31

{
  "signedTransactions": [
    "text"
  ]
}
{
  "results": [
    {
      "transactionId": "text",
      "slot": "text",
      "poolId": "text",
      "platform": "PLATFORM_UNSPECIFIED",
      "tokenIn": {
        "address": "text",
        "name": "text",
        "symbol": "text",
        "decimals": 1,
        "isStable": true
      },
      "tokenOut": {
        "address": "text",
        "name": "text",
        "symbol": "text",
        "decimals": 1,
        "isStable": true
      },
      "tokenInAmount": "text",
      "tokenOutAmount": "text",
      "createdAt": "text"
    }
  ]
}

Last updated