Skip to main content
GET
/
transactions
Get transactions
curl --request GET \
  --url https://api.solarsentra.io/v1/transactions \
  --header 'Authorization: Bearer <token>'
{
  "transactions": [
    {
      "signature": "5xK2Tg9CW87d97wDnTU5w4a2n3xZp6NV2aJ8r9G4qH3mPzRtYuVb",
      "type": "swap",
      "amount": 10.5,
      "token": "SOL",
      "from": "7xKXtg2CW87d97TXJSDpbD5jBkheTqA83TZRuJosgAsU",
      "to": "9xKXtg2CW87d97TXJSDpbD5jBkheTqA83TZRuJosgAsU",
      "blockTime": 1697123456,
      "slot": 234567890,
      "fee": 0.000005,
      "status": "success"
    }
  ],
  "total": 1234,
  "hasMore": true
}

Authorizations

Authorization
string
header
required

JWT Bearer token authentication. Include the token in the Authorization header

Query Parameters

walletId
string
required
Example:

"wlt_abc123def456"

limit
string
default:50

Number of transactions to return

offset
string
default:0

Pagination offset

type
enum<string>

Filter by transaction type

Available options:
all,
transfer,
swap,
stake,
nft
startTime
integer

Start timestamp for filtering

endTime
integer

End timestamp for filtering

Response

200 - application/json

Transactions retrieved successfully

transactions
object[]
total
number
Example:

1234

hasMore
boolean
Example:

true

I