Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func InitTxHandlers ¶
InitTxHandlers sets up handlers for transaction-related rpc commands
Types ¶
type Address ¶
type Address struct { Address string `json:"address"` Transactions []Transaction `json:"transactions"` }
Address describes each item returned in IncomingTxItems array
type GetRawTxResp ¶
type GetRawTxResp struct {
Result string `json:"result"`
}
GetRawTxResp descibes Result of RPC response > raw (string)
type GetTxIDParams ¶
type GetTxIDParams struct {
Addresses []string `json:"addresses"`
}
GetTxIDParams describes addresses array params for 'getaddresstxids' RPC call
type GetTxIDsResp ¶
type GetTxIDsResp struct {
Result []string `json:"result"`
}
GetTxIDsResp describes Result of RPC response > txid (array)
type IncomingTransactions ¶
type IncomingTransactions struct {
IncomingTxItems []IncomingTxItem `json:"transactions"`
}
IncomingTransactions describes the incoming transactions in POST body
type IncomingTxItem ¶
type IncomingTxItem struct { Currency string `json:"currency"` Addresses []string `json:"addresses"` }
IncomingTxItem describes incoming transaction items
type Response ¶
type Response struct {
Results []Result `json:"results"`
}
Response describes top-level response object
type Transaction ¶
type Transaction struct { TxID string `json:"txid"` RawTx string `json:"rawtx"` Verbose interface{} `json:"verbose"` }
Transaction describes each item returned in transactions array
Click to show internal directories.
Click to hide internal directories.