Skip to main content
GET
/
v1
/
query
/
get-transactions
List all transactions
curl --request GET \
  --url https://api.example.com/v1/query/get-transactions
[
  {
    "transactionId": "550e8400-e29b-41d4-a716-446655440000",
    "accountId": "550e8400-e29b-41d4-a716-446655440000",
    "chainId": 123,
    "vaultAddr": "<string>",
    "onchainTxAmount": "123.456789",
    "type": "deposit",
    "status": "completed",
    "createdAt": "2023-11-07T05:31:56Z",
    "updatedAt": "2023-11-07T05:31:56Z",
    "fiatAccountId": "550e8400-e29b-41d4-a716-446655440000",
    "transactionHash": "<string>",
    "optId": "<string>",
    "broadcastedAt": "2023-11-07T05:31:56Z",
    "sourceCurrency": "usd",
    "destinationCurrency": "usd",
    "fiatTransactionId": "<string>",
    "destinationAmount": "123.456789",
    "sourceAmount": "123.456789",
    "fiat_deposit_instructions": {
      "currency": "usd",
      "bankName": "Lead Bank",
      "bankAddress": "1801 Main St., Kansas City, MO 64108",
      "paymentRails": [
        "achPush"
      ],
      "bankBeneficiaryName": "John Smith",
      "bankBeneficiaryAddress": "1234 Main St., Kansas City, MO 64108",
      "expectedDepositAmount": "123.456789",
      "bankAccountNumber": "1234567890",
      "bankRoutingNumber": "87654321",
      "iban": "FR12345678901234567890",
      "bic": "BICFR12345"
    },
    "destination_bank_account": {
      "country": "FRA",
      "last4": "0804",
      "bic": "BICFR12345"
    }
  }
]

Query Parameters

account_id
string<uuid>
required

A UUID string

Example:

"550e8400-e29b-41d4-a716-446655440000"

Response

Transactions retrieved successfully

transactionId
string<uuid>
required

A UUID string

Example:

"550e8400-e29b-41d4-a716-446655440000"

accountId
string<uuid>
required

A UUID string

Example:

"550e8400-e29b-41d4-a716-446655440000"

chainId
integer<int32>
required
vaultAddr
string
required
onchainTxAmount
string
required

A high-precision decimal number represented as a string

Example:

"123.456789"

type
enum<string>
required

Type of transaction that is being submitted.

Available options:
authorization,
approve,
approve_deposit,
deposit,
withdraw
Example:

"deposit"

status
enum<string>
required

The current status of the transaction.

Available options:
created,
waiting_for_funds,
funds_in_transfer,
processing,
completed
Example:

"completed"

createdAt
string<date-time>
required
updatedAt
string<date-time>
required
fiatAccountId
string<uuid>

A UUID string

Example:

"550e8400-e29b-41d4-a716-446655440000"

transactionHash
string | null
optId
string | null
broadcastedAt
string<date-time> | null
sourceCurrency
enum<string>
Available options:
usd,
eur,
usdc,
eurc
destinationCurrency
enum<string>
Available options:
usd,
eur,
usdc,
eurc
fiatTransactionId
string | null
destinationAmount
string

A high-precision decimal number represented as a string

Example:

"123.456789"

sourceAmount
string

A high-precision decimal number represented as a string

Example:

"123.456789"

fiat_deposit_instructions
object
destination_bank_account
object

Bank account details where the funds will be transferred to (withdrawals only).