Transactions
Transactions involve shifting amounts from one account to another.
Attribute | Description |
---|---|
| The amount to transfer from the |
| A reference for the transaction. |
Relationship | Description |
---|---|
| The account to send this transaction from. |
| The account to send this transaction to. |
Meta | Description |
---|---|
| The exchange rate of the transaction, if applicable. |
| The timestamp (UTC) (ISO8601) when the transaction was created. |
meta.exchangeRate
will be omitted if the two accounts are the same currency.
You cannot edit or delete a transaction after created.
Examples
Crediting your account
You can credit your account by specifying "
ROOT
" as thesender
account ID, and one of your accounts as therecipient
.This is a Create event, similar to minting new coin, where you receive "funds" from nothing.
Yes, you can credit your account insane amounts (but it's not real!).
Emptying your account
You can empty your account by specifying "
ROOT
" as therecipient
account ID.This is a Destroy event, where you send "funds" into nothing.
Transfer between 2 accounts
You can transfer funds between 2 accounts by specifying the relevant recipient
account ID.
You can transfer from any of your accounts.
You can transfer to any of your accounts, or any public/unlisted account.
As of now, you cannot transfer between accounts of different currencies.
Currency conversion will be addressed in a future version of this API.
Last updated