Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type AddressTransactions ¶
type AddressTransactions struct {
Address string `json:"address"`
Transactions []Transaction `json:"transactions"`
}
AddressTransactions contains array of transactions for address
type GetRawTxResp ¶
type GetRawTxResp struct {
Result string `json:"result"`
}
GetRawTxResp is the Result of RPC response > raw (string)
type GetTxIDParams ¶
type GetTxIDParams struct {
Addresses []string `json:"addresses"`
}
GetTxIDParams are the addresses array params for 'getaddresstxids' RPC call
type GetTxIDsResp ¶
type GetTxIDsResp struct {
Result []string `json:"result"`
}
GetTxIDsResp is the Result of RPC response > txid (array)
type IncomingTransactions ¶
type IncomingTransactions struct {
IncomingTxItems []WalletItem `json:"transactions"`
}
IncomingTransactions are the incoming transactions in POST body
type Transaction ¶
type Transaction struct {
TxID string `json:"txid"`
RawTx string `json:"rawtx"`
Verbose interface{} `json:"verbose"`
}
Transaction contains txid, raw transactions txid, verbose boolean
type TxResponse ¶
type TxResponse struct {
Results []WalletResult `json:"results"`
}
TxResponse is the top-level response object
type WalletItem ¶
WalletItem is the incoming currency and corresponding addresses
type WalletResult ¶
type WalletResult struct {
Currency string `json:"currency"`
Addresses []AddressTransactions `json:"addresses"`
}
WalletResult is all transactions for array of address by currency
Click to show internal directories.
Click to hide internal directories.