Organization Transactions

Retrieve all transactions in an organization, per organization ID.

Fetch Organization Transactions

Retrieve all transactions in a specific organization, according to an organization ID, Wallet ID and specific asset (ID).

query Transaction($where: TransactionWhereUniqueInput!) {
  transaction(where: $where) {
    id
    amount
    blockchain {
      name
      code
    }
    createdAt
    createdBy {
      fullName
    }
    fee
    note
    status {
      status
    }
    wallet {
      name
      id
    }
    financialAsset {
      code
    }
    isAccelerated
    priority
    rateUSD
    rateEUR
    kyt
  }
}

Headers

Name
Value

Content-Type

application/json

Authorization

Bearer <token>

Body (TransactionWhereUniqueInput object)

Name
Type
Description

id*

string

Transaction ID

Example body:

{
  "where": {
    "id": "clllyfhdj00w9btqke47wsesf"
  }
}

Response

Return values:

Name
Type
Description

id

String

Transaction ID

amount

Integer

Transaction Amount

name (blockchain)

String

Blockchain Name

id (blockchain)

String

Blockchain ID

createdAt

String

Creation Time of Transaction

fullName (createdBy)

String

Full Name of the User Created the Transaction

fee

Integer

Fee Amount

note

String

Tranasaction Note (can be empty)

status

String

Status

name (wallet)

String

Wallet Name

id (wallet)

String

Wallet ID

code (financialAsset)

String

FinancialAsset Code (i.e - "ETH" / "BTC")

isAccelerated

Boolean

Flag that indicates wether the transaction is accelerated. (true/false)

priority

String

Transaction Priority (Slow, Medium, Fast, etc.)

rateUSD

Integer

Asset Rate at the time of the transaction (in USD)

rateEUR

Integer

Asset Rate at the time of the Transaction (in Euro)

kyt

String

KYT (Know-Your-Transaction) risk score. 0 - Worst score 10 - Best Score

{
  "data": {
    "transaction": {
      "id": "clllyfhdj00w9btqke47wsesf",
      "amount": 941.93,
      "blockchain": {
        "name": "Ethereum",
        "code": "ETH"
      },
      "createdAt": "2023-08-22T06:58:14.071Z",
      "createdBy": null,
      "fee": 1.36,
      "note": "Voluptas nihil dolorem qui explicabo libero earum.",
      "status": {
        "status": "Pending"
      },
      "wallet": {
        "name": "Organization Wallet 4",
        "id": "clllyfexn00h0btqkyed7tgqg"
      },
      "financialAsset": {
        "code": "ETH"
      },
      "isAccelerated": false,
      "priority": "Fast",
      "rateUSD": 3640.44,
      "rateEUR": 3351.94,
      "kyt": 4
    }
  }

Try it out!