In IBEXHub, every time funds are sent or received, a transaction object is created.
The ID of the transaction can be used to get information about it, such as its status.
We recommend storing the transactionId every time funds are sent or received.
Transaction Fields
Field | Type | Description |
---|---|---|
id | string | The id of the transaction. This id can be used to lookup details via the GET /transaction/{transaction_id} endpoint (here). |
createdAt | string format: "2022-11-14T14:59:32.930083Z" | The creation date of the transaction in UTC time. |
accountId | string | The id of the account. |
currencyId | int | The id of the currency of the transaction (equal to the currencyId of the account). |
amount | float | The amount of the transaction denominated in the currency of the transaction. |
networkFee | float | The network fees, denominated in the currency of the transaction. |
transactionTypeId | int | The id of the type of transaction |
Transaction Types
ID | Name | Description |
---|---|---|
1 | Lightning receive | This transaction has been received on the lightning network. |
2 | Lightning send | This transaction has been payed on the lightning network. |
3 | On-Chain receive | This transaction has been received On-Chain. |
4 | On-Chain send | This transaction has been sent On-Chain. |