Documentation
¶
Index ¶
- type CreateRawTransactionCommand
- type CreateRawTransactionParameter
- type CreateRawTransactionResult
- type GetAccountAddressCommand
- type GetAccountAddressResult
- type GetAddressesByAccountCommand
- type GetAddressesByAccountResult
- type GetBlockChainInfoCommand
- type GetBlockChainInfoResult
- type GetNewAddressCommand
- type GetNewAddressResult
- type ImportAddressCommand
- type ListAccountsCommand
- type ListAccountsResult
- type ListUnspentCommand
- type ListUnspentResult
- type OmniCreatePayloadSimpleSendCommand
- type OmniCreatePayloadSimpleSendResult
- type OmniCreateRawTxChangeCommand
- type OmniCreateRawTxChangeParameter
- type OmniCreateRawTxChangeResult
- type OmniCreateRawTxOpReturnCommand
- type OmniCreateRawTxOpReturnResult
- type OmniCreateRawTxReferenceCommand
- type OmniCreateRawTxReferenceResult
- type OmniFoundedSendCommand
- type OmniFoundedSendResult
- type OmniGetBalanceCommand
- type OmniGetBalanceResult
- type OmniGetInfoCommand
- type OmniGetInfoResult
- type OmniGetTransactionCommand
- type OmniGettransactionResult
- type OmniListBlockTransactionsCommand
- type OmniListBlockTransactionsResult
- type Previous
- type SendRawTransactionCommand
- type SendRawTransactionResult
- type SignRawTransactionCommand
- type SignRawTransactionResult
- type SignRawTransactionWithKeyCommand
- type SignRawTransactionWithKeyResult
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CreateRawTransactionCommand ¶
type CreateRawTransactionCommand struct {
Parameters []CreateRawTransactionParameter
}
func (CreateRawTransactionCommand) ID ¶
func (CreateRawTransactionCommand) ID() string
func (CreateRawTransactionCommand) Method ¶
func (CreateRawTransactionCommand) Method() string
func (CreateRawTransactionCommand) Params ¶
func (cmd CreateRawTransactionCommand) Params() []interface{}
type CreateRawTransactionResult ¶
type CreateRawTransactionResult = string
type GetAccountAddressCommand ¶
type GetAccountAddressCommand struct {
Account string
}
GetAccountAddressCommand ...
func (GetAccountAddressCommand) Params ¶
func (cmd GetAccountAddressCommand) Params() []interface{}
Params ...
type GetAddressesByAccountCommand ¶
type GetAddressesByAccountCommand struct {
Account string
}
GetAddressesByAccountCommand ...
func (GetAddressesByAccountCommand) Method ¶
func (GetAddressesByAccountCommand) Method() string
Method ...
func (GetAddressesByAccountCommand) Params ¶
func (cmd GetAddressesByAccountCommand) Params() []interface{}
Params ...
type GetAddressesByAccountResult ¶
type GetAddressesByAccountResult = []string
GetAddressesByAccountResult ...
type GetBlockChainInfoCommand ¶
type GetBlockChainInfoCommand struct{}
func (GetBlockChainInfoCommand) ID ¶
func (GetBlockChainInfoCommand) ID() string
func (GetBlockChainInfoCommand) Method ¶
func (GetBlockChainInfoCommand) Method() string
func (GetBlockChainInfoCommand) Params ¶
func (GetBlockChainInfoCommand) Params() []interface{}
type GetBlockChainInfoResult ¶
type GetNewAddressCommand ¶
type GetNewAddressCommand struct {
Account string
}
GetNewAddressCommand ...
func (GetNewAddressCommand) Params ¶
func (cmd GetNewAddressCommand) Params() []interface{}
Params ...
type ImportAddressCommand ¶
func (ImportAddressCommand) ID ¶
func (ImportAddressCommand) ID() string
func (ImportAddressCommand) Method ¶
func (ImportAddressCommand) Method() string
func (ImportAddressCommand) Params ¶
func (cmd ImportAddressCommand) Params() []interface{}
type ListAccountsCommand ¶
type ListAccountsCommand struct {
MinConf int64 `json:"minConf"`
}
func (ListAccountsCommand) ID ¶
func (ListAccountsCommand) ID() string
func (ListAccountsCommand) Method ¶
func (ListAccountsCommand) Method() string
func (ListAccountsCommand) Params ¶
func (cmd ListAccountsCommand) Params() []interface{}
type ListAccountsResult ¶
type ListUnspentCommand ¶
func (ListUnspentCommand) ID ¶
func (ListUnspentCommand) ID() string
func (ListUnspentCommand) Method ¶
func (ListUnspentCommand) Method() string
func (ListUnspentCommand) Params ¶
func (cmd ListUnspentCommand) Params() []interface{}
type ListUnspentResult ¶
type ListUnspentResult = []struct { Tx string `json:"txid"` Address string `json:"address"` ScriptPubKey string `json:"scriptPubKey"` RedeemScript string `json:"redeemScript"` Amount float64 `json:"amount"` Confirmations int64 `json:"confirmations"` Vout uint32 `json:"vout"` Spendable bool `json:"spendable"` Solvable bool `json:"solvable"` }
type OmniCreatePayloadSimpleSendCommand ¶
func (OmniCreatePayloadSimpleSendCommand) ID ¶
func (OmniCreatePayloadSimpleSendCommand) ID() string
func (OmniCreatePayloadSimpleSendCommand) Method ¶
func (OmniCreatePayloadSimpleSendCommand) Method() string
func (OmniCreatePayloadSimpleSendCommand) Params ¶
func (cmd OmniCreatePayloadSimpleSendCommand) Params() []interface{}
type OmniCreatePayloadSimpleSendResult ¶
type OmniCreatePayloadSimpleSendResult = string
type OmniCreateRawTxChangeCommand ¶
type OmniCreateRawTxChangeCommand struct { Raw string Previous []OmniCreateRawTxChangeParameter Destination string Fee float64 }
func (OmniCreateRawTxChangeCommand) ID ¶
func (OmniCreateRawTxChangeCommand) ID() string
func (OmniCreateRawTxChangeCommand) Method ¶
func (OmniCreateRawTxChangeCommand) Method() string
func (OmniCreateRawTxChangeCommand) Params ¶
func (cmd OmniCreateRawTxChangeCommand) Params() []interface{}
type OmniCreateRawTxChangeResult ¶
type OmniCreateRawTxChangeResult = string
type OmniCreateRawTxOpReturnCommand ¶
func (OmniCreateRawTxOpReturnCommand) ID ¶
func (OmniCreateRawTxOpReturnCommand) ID() string
func (OmniCreateRawTxOpReturnCommand) Method ¶
func (OmniCreateRawTxOpReturnCommand) Method() string
func (OmniCreateRawTxOpReturnCommand) Params ¶
func (cmd OmniCreateRawTxOpReturnCommand) Params() []interface{}
type OmniCreateRawTxOpReturnResult ¶
type OmniCreateRawTxOpReturnResult = string
type OmniCreateRawTxReferenceCommand ¶
func (OmniCreateRawTxReferenceCommand) ID ¶
func (OmniCreateRawTxReferenceCommand) ID() string
func (OmniCreateRawTxReferenceCommand) Method ¶
func (OmniCreateRawTxReferenceCommand) Method() string
func (OmniCreateRawTxReferenceCommand) Params ¶
func (cmd OmniCreateRawTxReferenceCommand) Params() []interface{}
type OmniCreateRawTxReferenceResult ¶
type OmniCreateRawTxReferenceResult = string
type OmniFoundedSendCommand ¶
type OmniFoundedSendCommand struct { From string `json:"fromaddress"` To string `json:"toaddress"` ProperID int64 `json:"propertyid"` Amount string `json:"amount"` Fee string `json:"feeaddress"` }
OmniFoundedSendCommand ...
func (OmniFoundedSendCommand) Params ¶
func (cmd OmniFoundedSendCommand) Params() []interface{}
Params ...
type OmniGetBalanceCommand ¶
func (OmniGetBalanceCommand) ID ¶
func (OmniGetBalanceCommand) ID() string
func (OmniGetBalanceCommand) Method ¶
func (OmniGetBalanceCommand) Method() string
func (OmniGetBalanceCommand) Params ¶
func (cmd OmniGetBalanceCommand) Params() []interface{}
type OmniGetBalanceResult ¶
type OmniGetInfoCommand ¶
type OmniGetInfoCommand struct{}
func (OmniGetInfoCommand) ID ¶
func (OmniGetInfoCommand) ID() string
func (OmniGetInfoCommand) Method ¶
func (OmniGetInfoCommand) Method() string
func (OmniGetInfoCommand) Params ¶
func (OmniGetInfoCommand) Params() []interface{}
type OmniGetInfoResult ¶
type OmniGetInfoResult struct { VersionInt int32 `json:"omnicoreversion_int"` Version string `json:"omnicoreversion"` BitcoinCoreVersion string `json:"bitcoincoreversion"` CommitInfo string `json:"commitinfo"` Block int32 `json:"block"` BlockTimestamp int32 `json:"blocktime"` BlockTransaction int32 `json:"blocktransactions"` TotalTransaction int32 `json:"totaltransactions"` }
type OmniGetTransactionCommand ¶
type OmniGetTransactionCommand struct {
Hash string
}
func (OmniGetTransactionCommand) ID ¶
func (OmniGetTransactionCommand) ID() string
func (OmniGetTransactionCommand) Method ¶
func (OmniGetTransactionCommand) Method() string
func (OmniGetTransactionCommand) Params ¶
func (cmd OmniGetTransactionCommand) Params() []interface{}
type OmniGettransactionResult ¶
type OmniGettransactionResult struct { ID string `json:"txid"` Fee string `json:"fee"` From string `json:"sendingaddress"` To string `json:"referenceaddress"` Type string `json:"type"` Amount string `json:"amount"` BlockHash string `json:"blockhash"` InvalidReason string `json:"invalidreason"` Version int32 `json:"version"` TypeInt int32 `json:"type_int"` PropertyID int32 `json:"propertyid"` BlockTimestamp int32 `json:"blocktime"` PositionInBlock int32 `json:"positioninblock"` BlockHeight int32 `json:"block"` Confirmations uint32 `json:"confirmations"` Mine bool `json:"ismine"` Divisible bool `json:"divisible"` Valid bool `json:"valid"` }
type OmniListBlockTransactionsCommand ¶
type OmniListBlockTransactionsCommand struct {
Block int64
}
func (OmniListBlockTransactionsCommand) ID ¶
func (OmniListBlockTransactionsCommand) ID() string
func (OmniListBlockTransactionsCommand) Method ¶
func (OmniListBlockTransactionsCommand) Method() string
func (OmniListBlockTransactionsCommand) Params ¶
func (cmd OmniListBlockTransactionsCommand) Params() []interface{}
type OmniListBlockTransactionsResult ¶
type OmniListBlockTransactionsResult = []string
type SendRawTransactionCommand ¶
func (SendRawTransactionCommand) ID ¶
func (SendRawTransactionCommand) ID() string
func (SendRawTransactionCommand) Method ¶
func (SendRawTransactionCommand) Method() string
func (SendRawTransactionCommand) Params ¶
func (cmd SendRawTransactionCommand) Params() []interface{}
type SendRawTransactionResult ¶
type SendRawTransactionResult = string
type SignRawTransactionCommand ¶
func (SignRawTransactionCommand) ID ¶
func (SignRawTransactionCommand) ID() string
func (SignRawTransactionCommand) Method ¶
func (SignRawTransactionCommand) Method() string
func (SignRawTransactionCommand) Params ¶
func (cmd SignRawTransactionCommand) Params() []interface{}
type SignRawTransactionWithKeyCommand ¶
type SignRawTransactionWithKeyCommand struct { Hex string Previous []Previous Keys []string Type string }
func (SignRawTransactionWithKeyCommand) ID ¶
func (SignRawTransactionWithKeyCommand) ID() string
func (SignRawTransactionWithKeyCommand) Method ¶
func (SignRawTransactionWithKeyCommand) Method() string
func (SignRawTransactionWithKeyCommand) Params ¶
func (cmd SignRawTransactionWithKeyCommand) Params() []interface{}
type SignRawTransactionWithKeyResult ¶
type SignRawTransactionWithKeyResult = string
Source Files
¶
- createrawtransaction.go
- getaccountaddress.go
- getaddressesbyaccount.go
- getblockchaininfo.go
- getnewaddress.go
- importaddress.go
- listaccounts.go
- listunspent.go
- omni_createpayload_simplesend.go
- omni_createrawtx_change.go
- omni_createrawtx_opreturn.go
- omni_createrawtx_reference.go
- omni_funded_send.go
- omni_getbalance.go
- omni_getinfo.go
- omni_gettransaction.go
- omni_listblocktransactions.go
- sendrawtransaction.go
- signrawtransaction.go
- signrawtransactionwithkey.go
Click to show internal directories.
Click to hide internal directories.