Documentation
¶
Index ¶
- type AccountLedger
- func (a *AccountLedger) ActivateAccount(id string)
- func (a *AccountLedger) BlockAmount(id string, block request.BlockAmount) *common.Id
- func (a *AccountLedger) CreateAccount(account request.CreateAccount) (*ledger.Account, error)
- func (a *AccountLedger) CreateAccounts(accounts request.CreateAccountsBatch) *[]ledger.Account
- func (a *AccountLedger) DeactivateAccount(id string)
- func (a *AccountLedger) DeleteBlockedAmount(id string)
- func (a *AccountLedger) DeleteBlockedAmountForAccount(id string)
- func (a *AccountLedger) FreezeAccount(id string)
- func (a *AccountLedger) GetAccountBalance(id string) *ledger.AccountBalance
- func (a *AccountLedger) GetAccountById(id string) *ledger.Account
- func (a *AccountLedger) GetAccountsByCustomerId(id string, pageSize uint16, offset uint16) *[]ledger.Account
- func (a *AccountLedger) GetAllAccounts(pageSize uint16, offset uint16) *[]ledger.Account
- func (a *AccountLedger) GetBlockedAmountsByAccountId(id string, pageSize uint16, offset uint16) *[]ledger.Blockage
- func (a *AccountLedger) UnfreezeAccount(id string)
- type CustomerLedger
- func (c *CustomerLedger) ActivateCustomer(id string)
- func (c *CustomerLedger) DeactivateCustomer(id string)
- func (c *CustomerLedger) DisableCustomer(id string)
- func (c *CustomerLedger) EnableCustomer(id string)
- func (c *CustomerLedger) GetAllCustomers(pageSize uint16, offset uint16) *[]ledger.Customer
- func (c *CustomerLedger) GetCustomer(id string) *ledger.Customer
- func (c *CustomerLedger) UpdateCustomer(id string, data request.CustomerUpdate) *common.Id
- type OrderBook
- func (o *OrderBook) DeleteAccountTrades(id string)
- func (o *OrderBook) DeleteTrade(id string)
- func (o *OrderBook) GetActiveBuyTrades(id string, pageSize uint16, offset uint16) *[]ledger.OrderBookResponse
- func (o *OrderBook) GetActiveSellTrades(id string, pageSize uint16, offset uint16) *[]ledger.OrderBookResponse
- func (o *OrderBook) GetHistoricalTrades(pageSize uint16, offset uint16) *[]ledger.OrderBookResponse
- func (o *OrderBook) GetTradeById(id string) *ledger.OrderBookResponse
- func (o *OrderBook) StoreTrade(data request.OrderBookRequest) *common.Id
- type Subcription
- func (s *Subcription) CancelExistingSubscription(id string)
- func (s *Subcription) CreateNewSubscription(data request.CreateSubscription) *common.Id
- func (s *Subcription) ListActiveSubscriptions(pageSize uint16, offset uint16) *[]ledger.Subscription
- func (s *Subcription) ObtainReportForSubscription(id string) interface{}
- type Transaction
- func (t *Transaction) CountTransactionsByAccount(filter request.TransactionFilter) uint64
- func (t *Transaction) CountTransactionsByCustomer(filter request.TransactionFilter) uint64
- func (t *Transaction) CountTransactionsByLedger(filter request.TransactionFilter) uint64
- func (t *Transaction) GetTransactionsByAccount(filter request.TransactionFilter, pageSize uint16, offset uint16) *[]ledger.Transaction
- func (t *Transaction) GetTransactionsByCustomer(filter request.TransactionFilter, pageSize uint16, offset uint16) *[]ledger.Transaction
- func (t *Transaction) GetTransactionsByLedger(filter request.TransactionFilter, pageSize uint16, offset uint16) *[]ledger.Transaction
- func (t *Transaction) GetTransactionsByReference(reference string) *[]ledger.Transaction
- func (t *Transaction) StoreTransaction(transaction request.CreateTransaction) *ledger.Reference
- type VC
- func (v *VC) CreateVirtualCurrency(data request.CreateCurrency) *ledger.Account
- func (v *VC) GetVirtualCurrencyByName(name string) *ledger.VC
- func (v *VC) MintVirtualCurrency(data request.CurrencyOperation) *ledger.Reference
- func (v *VC) RevokeVirtualCurrency(data request.CurrencyOperation) *ledger.Reference
- func (v *VC) UpdateVirtualCurrency(data request.UpdateCurrency)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AccountLedger ¶
type AccountLedger struct { }
func (*AccountLedger) ActivateAccount ¶
func (a *AccountLedger) ActivateAccount(id string)
*
- For more details, see <a href="https://tatum.io/apidoc#operation/activateAccount" target="_blank">Tatum API documentation</a>
func (*AccountLedger) BlockAmount ¶
func (a *AccountLedger) BlockAmount(id string, block request.BlockAmount) *common.Id
*
- For more details, see <a href="https://tatum.io/apidoc#operation/blockAmount" target="_blank">Tatum API documentation</a>
func (*AccountLedger) CreateAccount ¶
func (a *AccountLedger) CreateAccount(account request.CreateAccount) (*ledger.Account, error)
*
- For more details, see <a href="https://tatum.io/apidoc#operation/createAccount" target="_blank">Tatum API documentation</a>
func (*AccountLedger) CreateAccounts ¶
func (a *AccountLedger) CreateAccounts(accounts request.CreateAccountsBatch) *[]ledger.Account
*
- For more details, see <a href="https://tatum.io/apidoc#operation/createAccountBatch" target="_blank">Tatum API documentation</a>
func (*AccountLedger) DeactivateAccount ¶
func (a *AccountLedger) DeactivateAccount(id string)
*
- For more details, see <a href="https://tatum.io/apidoc#operation/deactivateAccount" target="_blank">Tatum API documentation</a>
func (*AccountLedger) DeleteBlockedAmount ¶
func (a *AccountLedger) DeleteBlockedAmount(id string)
*
- For more details, see <a href="https://tatum.io/apidoc#operation/deleteBlockAmount" target="_blank">Tatum API documentation</a>
func (*AccountLedger) DeleteBlockedAmountForAccount ¶
func (a *AccountLedger) DeleteBlockedAmountForAccount(id string)
*
- For more details, see <a href="https://tatum.io/apidoc#operation/deleteAllBlockAmount" target="_blank">Tatum API documentation</a>
func (*AccountLedger) FreezeAccount ¶
func (a *AccountLedger) FreezeAccount(id string)
*
- For more details, see <a href="https://tatum.io/apidoc#operation/freezeAccount" target="_blank">Tatum API documentation</a>
func (*AccountLedger) GetAccountBalance ¶
func (a *AccountLedger) GetAccountBalance(id string) *ledger.AccountBalance
*
- For more details, see <a href="https://tatum.io/apidoc#operation/getAccountBalance" target="_blank">Tatum API documentation</a>
func (*AccountLedger) GetAccountById ¶
func (a *AccountLedger) GetAccountById(id string) *ledger.Account
*
- For more details, see <a href="https://tatum.io/apidoc#operation/getAccountByAccountId" target="_blank">Tatum API documentation</a>
func (*AccountLedger) GetAccountsByCustomerId ¶
func (a *AccountLedger) GetAccountsByCustomerId(id string, pageSize uint16, offset uint16) *[]ledger.Account
*
- For more details, see <a href="https://tatum.io/apidoc#operation/getAccountsByCustomerId" target="_blank">Tatum API documentation</a>
func (*AccountLedger) GetAllAccounts ¶
func (a *AccountLedger) GetAllAccounts(pageSize uint16, offset uint16) *[]ledger.Account
*
- For more details, see <a href="https://tatum.io/apidoc#operation/getAllAccounts" target="_blank">Tatum API documentation</a>
func (*AccountLedger) GetBlockedAmountsByAccountId ¶
func (a *AccountLedger) GetBlockedAmountsByAccountId(id string, pageSize uint16, offset uint16) *[]ledger.Blockage
*
- For more details, see <a href="https://tatum.io/apidoc#operation/getBlockAmount" target="_blank">Tatum API documentation</a>
func (*AccountLedger) UnfreezeAccount ¶
func (a *AccountLedger) UnfreezeAccount(id string)
*
- For more details, see <a href="https://tatum.io/apidoc#operation/unfreezeAccount" target="_blank">Tatum API documentation</a>
type CustomerLedger ¶
type CustomerLedger struct { }
func (*CustomerLedger) ActivateCustomer ¶
func (c *CustomerLedger) ActivateCustomer(id string)
*
- For more details, see <a href="https://tatum.io/apidoc#operation/activateAccount" target="_blank">Tatum API documentation</a>
func (*CustomerLedger) DeactivateCustomer ¶
func (c *CustomerLedger) DeactivateCustomer(id string)
*
- For more details, see <a href="https://tatum.io/apidoc#operation/deactivateCustomer" target="_blank">Tatum API documentation</a>
func (*CustomerLedger) DisableCustomer ¶
func (c *CustomerLedger) DisableCustomer(id string)
*
- For more details, see <a href="https://tatum.io/apidoc#operation/disableCustomer" target="_blank">Tatum API documentation</a>
func (*CustomerLedger) EnableCustomer ¶
func (c *CustomerLedger) EnableCustomer(id string)
*
- For more details, see <a href="https://tatum.io/apidoc#operation/enableCustomer" target="_blank">Tatum API documentation</a>
func (*CustomerLedger) GetAllCustomers ¶
func (c *CustomerLedger) GetAllCustomers(pageSize uint16, offset uint16) *[]ledger.Customer
*
- For more details, see <a href="https://tatum.io/apidoc#operation/findAllCustomers" target="_blank">Tatum API documentation</a>
func (*CustomerLedger) GetCustomer ¶
func (c *CustomerLedger) GetCustomer(id string) *ledger.Customer
*
- For more details, see <a href="https://tatum.io/apidoc#operation/getCustomerByExternalId" target="_blank">Tatum API documentation</a>
func (*CustomerLedger) UpdateCustomer ¶
func (c *CustomerLedger) UpdateCustomer(id string, data request.CustomerUpdate) *common.Id
*
- For more details, see <a href="https://tatum.io/apidoc#operation/updateCustomer" target="_blank">Tatum API documentation</a>
type OrderBook ¶
type OrderBook struct { }
func (*OrderBook) DeleteAccountTrades ¶
*
- For more details, see <a href="https://tatum.io/apidoc#operation/deleteAccountTrades" target="_blank">Tatum API documentation</a>
func (*OrderBook) DeleteTrade ¶
*
- For more details, see <a href="https://tatum.io/apidoc#operation/deleteTrade" target="_blank">Tatum API documentation</a>
func (*OrderBook) GetActiveBuyTrades ¶
func (o *OrderBook) GetActiveBuyTrades(id string, pageSize uint16, offset uint16) *[]ledger.OrderBookResponse
*
- For more details, see <a href="https://tatum.io/apidoc#operation/getBuyTrades" target="_blank">Tatum API documentation</a>
func (*OrderBook) GetActiveSellTrades ¶
func (o *OrderBook) GetActiveSellTrades(id string, pageSize uint16, offset uint16) *[]ledger.OrderBookResponse
*
- For more details, see <a href="https://tatum.io/apidoc#operation/getSellTrades" target="_blank">Tatum API documentation</a>
func (*OrderBook) GetHistoricalTrades ¶
func (o *OrderBook) GetHistoricalTrades(pageSize uint16, offset uint16) *[]ledger.OrderBookResponse
*
- For more details, see <a href="https://tatum.io/apidoc#operation/getHistoricalTrades" target="_blank">Tatum API documentation</a>
func (*OrderBook) GetTradeById ¶
func (o *OrderBook) GetTradeById(id string) *ledger.OrderBookResponse
*
- For more details, see <a href="https://tatum.io/apidoc#operation/getTradeById" target="_blank">Tatum API documentation</a>
func (*OrderBook) StoreTrade ¶
func (o *OrderBook) StoreTrade(data request.OrderBookRequest) *common.Id
*
- For more details, see <a href="https://tatum.io/apidoc#operation/storeTrade" target="_blank">Tatum API documentation</a>
type Subcription ¶
type Subcription struct { }
func (*Subcription) CancelExistingSubscription ¶
func (s *Subcription) CancelExistingSubscription(id string)
*
- For more details, see <a href="https://tatum.io/apidoc#operation/deleteSubscription" target="_blank">Tatum API documentation</a>
func (*Subcription) CreateNewSubscription ¶
func (s *Subcription) CreateNewSubscription(data request.CreateSubscription) *common.Id
*
- For more details, see <a href="https://tatum.io/apidoc#operation/createSubscription" target="_blank">Tatum API documentation</a>
func (*Subcription) ListActiveSubscriptions ¶
func (s *Subcription) ListActiveSubscriptions(pageSize uint16, offset uint16) *[]ledger.Subscription
*
- For more details, see <a href="https://tatum.io/apidoc#operation/getSubscriptions" target="_blank">Tatum API documentation</a>
func (*Subcription) ObtainReportForSubscription ¶
func (s *Subcription) ObtainReportForSubscription(id string) interface{}
*
- For more details, see <a href="https://tatum.io/apidoc#operation/getSubscriptionReport" target="_blank">Tatum API documentation</a>
type Transaction ¶
type Transaction struct { }
func (*Transaction) CountTransactionsByAccount ¶
func (t *Transaction) CountTransactionsByAccount(filter request.TransactionFilter) uint64
*
- For more details, see <a href="https://tatum.io/apidoc#operation/getTransactionsByAccountId" target="_blank">Tatum API documentation</a>
func (*Transaction) CountTransactionsByCustomer ¶
func (t *Transaction) CountTransactionsByCustomer(filter request.TransactionFilter) uint64
*
- For more details, see <a href="https://tatum.io/apidoc#operation/getTransactionsByCustomerId" target="_blank">Tatum API documentation</a>
func (*Transaction) CountTransactionsByLedger ¶
func (t *Transaction) CountTransactionsByLedger(filter request.TransactionFilter) uint64
*
- For more details, see <a href="https://tatum.io/apidoc#operation/getTransactions" target="_blank">Tatum API documentation</a>
func (*Transaction) GetTransactionsByAccount ¶
func (t *Transaction) GetTransactionsByAccount(filter request.TransactionFilter, pageSize uint16, offset uint16) *[]ledger.Transaction
*
- For more details, see <a href="https://tatum.io/apidoc#operation/getTransactionsByAccountId" target="_blank">Tatum API documentation</a>
func (*Transaction) GetTransactionsByCustomer ¶
func (t *Transaction) GetTransactionsByCustomer(filter request.TransactionFilter, pageSize uint16, offset uint16) *[]ledger.Transaction
*
- For more details, see <a href="https://tatum.io/apidoc#operation/getTransactionsByCustomerId" target="_blank">Tatum API documentation</a>
func (*Transaction) GetTransactionsByLedger ¶
func (t *Transaction) GetTransactionsByLedger(filter request.TransactionFilter, pageSize uint16, offset uint16) *[]ledger.Transaction
*
- For more details, see <a href="https://tatum.io/apidoc#operation/getTransactions" target="_blank">Tatum API documentation</a>
func (*Transaction) GetTransactionsByReference ¶
func (t *Transaction) GetTransactionsByReference(reference string) *[]ledger.Transaction
*
- For more details, see <a href="https://tatum.io/apidoc#operation/getTransactionsByReference" target="_blank">Tatum API documentation</a>
func (*Transaction) StoreTransaction ¶
func (t *Transaction) StoreTransaction(transaction request.CreateTransaction) *ledger.Reference
*
- For more details, see <a href="https://tatum.io/apidoc#operation/sendTransaction" target="_blank">Tatum API documentation</a>
type VC ¶
type VC struct { }
func (*VC) CreateVirtualCurrency ¶
func (v *VC) CreateVirtualCurrency(data request.CreateCurrency) *ledger.Account
*
- For more details, see <a href="https://tatum.io/apidoc#operation/createCurrency" target="_blank">Tatum API documentation</a>
func (*VC) GetVirtualCurrencyByName ¶
*
- For more details, see <a href="https://tatum.io/apidoc#operation/getCurrency" target="_blank">Tatum API documentation</a>
func (*VC) MintVirtualCurrency ¶
func (v *VC) MintVirtualCurrency(data request.CurrencyOperation) *ledger.Reference
*
- For more details, see <a href="https://tatum.io/apidoc#operation/mintCurrency" target="_blank">Tatum API documentation</a>
func (*VC) RevokeVirtualCurrency ¶
func (v *VC) RevokeVirtualCurrency(data request.CurrencyOperation) *ledger.Reference
*
- For more details, see <a href="https://tatum.io/apidoc#operation/revokeCurrency" target="_blank">Tatum API documentation</a>
func (*VC) UpdateVirtualCurrency ¶
func (v *VC) UpdateVirtualCurrency(data request.UpdateCurrency)
*
- For more details, see <a href="https://tatum.io/apidoc#operation/updateCurrency" target="_blank">Tatum API documentation</a>
Click to show internal directories.
Click to hide internal directories.