Skip to main content
GET
/
v1
/
query
/
get-transaction
Get a single transaction
curl --request GET \
  --url https://api.byzantine.fi/v1/query/get-transaction \
  --header 'X-Pubkey: <api-key>' \
  --header 'X-Signature: <x-signature>' \
  --header 'X-Timestamp: <x-timestamp>'
{
  "transactionId": "550e8400-e29b-41d4-a716-446655440000",
  "accountId": "550e8400-e29b-41d4-a716-446655440000",
  "chainId": 123,
  "vaultAddr": "<string>",
  "type": "deposit",
  "status": "completed",
  "fiatAccountId": "550e8400-e29b-41d4-a716-446655440000",
  "transactionHash": "<string>",
  "optId": "<string>",
  "broadcastedAt": "2023-11-07T05:31:56Z",
  "createdAt": "2023-11-07T05:31:56Z",
  "updatedAt": "2023-11-07T05:31:56Z",
  "sourceCurrency": "usd",
  "destinationCurrency": "usd",
  "fiatTransactionId": "<string>",
  "destinationAmount": "123.456789",
  "sourceAmount": "123.456789"
}

Authorizations

X-Pubkey
string
header
required

Integrator's ECDSA public key (P-256 curve, compressed SEC1 format). Example: 0x038fedef7c12f93bbf342ad8943b7a825a3b41f61c9dc118b2c718efebabbf62fd

Headers

X-Timestamp
string
required

Unix timestamp in seconds (UTC). Must be within tolerance window (1 minute) to prevent replay attacks. Example: 1760375826

X-Signature
string
required

ECDSA signature (DER-encoded, hex with 0x prefix). Signs the message: {timestamp}{METHOD}{path_and_query}{json_body}. Example: 0x3045022100...

Query Parameters

transaction_id
string<uuid>
required

A UUID string

Example:

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

Response

Transaction retrieved successfully

Response for getting a single transaction by ID

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
required
vaultAddr
string
required
type
enum<string>
required

Type of transaction that is being submitted.

Available options:
approve,
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
sourceCurrency
enum<string>
required
Available options:
usd,
eur,
usdc,
eurc
destinationCurrency
enum<string>
required
Available options:
usd,
eur,
usdc,
eurc
fiatAccountId
string<uuid>

A UUID string

Example:

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

transactionHash
string | null
optId
string | null
broadcastedAt
string<date-time> | null
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"