Get single transaction
curl --request GET \
--url https://api.byzantine.fi/v1/query/get-transaction \
--header 'X-Pubkey: <x-pubkey>' \
--header 'X-Pubkey, X-Timestamp, X-Signature: <api-key>' \
--header 'X-Signature: <x-signature>' \
--header 'X-Timestamp: <x-timestamp>'import requests
url = "https://api.byzantine.fi/v1/query/get-transaction"
headers = {
"X-Pubkey": "<x-pubkey>",
"X-Timestamp": "<x-timestamp>",
"X-Signature": "<x-signature>",
"X-Pubkey, X-Timestamp, X-Signature": "<api-key>"
}
response = requests.get(url, headers=headers)
print(response.text)const options = {
method: 'GET',
headers: {
'X-Pubkey': '<x-pubkey>',
'X-Timestamp': '<x-timestamp>',
'X-Signature': '<x-signature>',
'X-Pubkey, X-Timestamp, X-Signature': '<api-key>'
}
};
fetch('https://api.byzantine.fi/v1/query/get-transaction', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"transactionId": "550e8400-e29b-41d4-a716-446655440000",
"accountId": "550e8400-e29b-41d4-a716-446655440000",
"chainId": 123,
"intermediaryAmount": "123.456789",
"type": "deposit",
"status": "completed",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"relatedTransactionId": "550e8400-e29b-41d4-a716-446655440000",
"vaultAddr": "<string>",
"transactionHash": "<string>",
"broadcastedAt": "2023-11-07T05:31:56Z",
"sourceCurrency": "usd",
"destinationCurrency": "usd",
"sourceAmount": "123.456789",
"destinationAmount": "123.456789",
"destinationAddress": "<string>",
"account": {
"accountName": "<string>",
"entityId": "550e8400-e29b-41d4-a716-446655440000",
"ownerUserId": "550e8400-e29b-41d4-a716-446655440000",
"imageUrl": "<string>"
},
"withdrawalRequest": {
"requestId": "550e8400-e29b-41d4-a716-446655440000",
"status": "pending"
},
"fiatDepositInstructions": {
"currency": "usd",
"bankName": "Lead Bank",
"bankAddress": "1801 Main St., Kansas City, MO 64108",
"paymentRails": [
"achPush"
],
"bankBeneficiaryName": "John Smith",
"objectId": "550e8400-e29b-41d4-a716-446655440000",
"expectedDepositAmount": "123.456789",
"bankBeneficiaryAddress": "1234 Main St., Kansas City, MO 64108",
"bankAccountNumber": "1234567890",
"bankRoutingNumber": "87654321",
"iban": "FR12345678901234567890",
"bic": "BICFR12345"
},
"destinationBankAccount": {
"country": "FRA",
"last4": "0804",
"objectId": "550e8400-e29b-41d4-a716-446655440000",
"name": "Business account",
"bic": "BICFR12345",
"bankName": "Wells Fargo"
}
}Transactions
Get single transaction
Transactions still awaiting signature (unsigned drafts) return 404: they only become
visible once sign-payload has succeeded.
GET
/
v1
/
query
/
get-transaction
Get single transaction
curl --request GET \
--url https://api.byzantine.fi/v1/query/get-transaction \
--header 'X-Pubkey: <x-pubkey>' \
--header 'X-Pubkey, X-Timestamp, X-Signature: <api-key>' \
--header 'X-Signature: <x-signature>' \
--header 'X-Timestamp: <x-timestamp>'import requests
url = "https://api.byzantine.fi/v1/query/get-transaction"
headers = {
"X-Pubkey": "<x-pubkey>",
"X-Timestamp": "<x-timestamp>",
"X-Signature": "<x-signature>",
"X-Pubkey, X-Timestamp, X-Signature": "<api-key>"
}
response = requests.get(url, headers=headers)
print(response.text)const options = {
method: 'GET',
headers: {
'X-Pubkey': '<x-pubkey>',
'X-Timestamp': '<x-timestamp>',
'X-Signature': '<x-signature>',
'X-Pubkey, X-Timestamp, X-Signature': '<api-key>'
}
};
fetch('https://api.byzantine.fi/v1/query/get-transaction', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"transactionId": "550e8400-e29b-41d4-a716-446655440000",
"accountId": "550e8400-e29b-41d4-a716-446655440000",
"chainId": 123,
"intermediaryAmount": "123.456789",
"type": "deposit",
"status": "completed",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"relatedTransactionId": "550e8400-e29b-41d4-a716-446655440000",
"vaultAddr": "<string>",
"transactionHash": "<string>",
"broadcastedAt": "2023-11-07T05:31:56Z",
"sourceCurrency": "usd",
"destinationCurrency": "usd",
"sourceAmount": "123.456789",
"destinationAmount": "123.456789",
"destinationAddress": "<string>",
"account": {
"accountName": "<string>",
"entityId": "550e8400-e29b-41d4-a716-446655440000",
"ownerUserId": "550e8400-e29b-41d4-a716-446655440000",
"imageUrl": "<string>"
},
"withdrawalRequest": {
"requestId": "550e8400-e29b-41d4-a716-446655440000",
"status": "pending"
},
"fiatDepositInstructions": {
"currency": "usd",
"bankName": "Lead Bank",
"bankAddress": "1801 Main St., Kansas City, MO 64108",
"paymentRails": [
"achPush"
],
"bankBeneficiaryName": "John Smith",
"objectId": "550e8400-e29b-41d4-a716-446655440000",
"expectedDepositAmount": "123.456789",
"bankBeneficiaryAddress": "1234 Main St., Kansas City, MO 64108",
"bankAccountNumber": "1234567890",
"bankRoutingNumber": "87654321",
"iban": "FR12345678901234567890",
"bic": "BICFR12345"
},
"destinationBankAccount": {
"country": "FRA",
"last4": "0804",
"objectId": "550e8400-e29b-41d4-a716-446655440000",
"name": "Business account",
"bic": "BICFR12345",
"bankName": "Wells Fargo"
}
}Headers
Query Parameters
Response
Transaction retrieved successfully
Response for getting a single transaction by ID

