omnijson

package
v0.0.0-...-8024cb9 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 10, 2019 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

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) Method

func (CreateRawTransactionCommand) Params

func (cmd CreateRawTransactionCommand) Params() []interface{}

type CreateRawTransactionParameter

type CreateRawTransactionParameter struct {
	Tx   string `json:"txid"`
	Vout uint32 `json:"vout"`
}

type CreateRawTransactionResult

type CreateRawTransactionResult = string

type GetAccountAddressCommand

type GetAccountAddressCommand struct {
	Account string
}

GetAccountAddressCommand ...

func (GetAccountAddressCommand) ID

ID ...

func (GetAccountAddressCommand) Method

Method ...

func (GetAccountAddressCommand) Params

func (cmd GetAccountAddressCommand) Params() []interface{}

Params ...

type GetAccountAddressResult

type GetAccountAddressResult = string

GetAccountAddressResult ...

type GetAddressesByAccountCommand

type GetAddressesByAccountCommand struct {
	Account string
}

GetAddressesByAccountCommand ...

func (GetAddressesByAccountCommand) ID

ID ...

func (GetAddressesByAccountCommand) Method

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) Method

func (GetBlockChainInfoCommand) Params

func (GetBlockChainInfoCommand) Params() []interface{}

type GetBlockChainInfoResult

type GetBlockChainInfoResult struct {
	Blocks        int64  `json:"blocks"`
	BestBlockHash string `json:"bestblockhash"`
}

type GetNewAddressCommand

type GetNewAddressCommand struct {
	Account string
}

GetNewAddressCommand ...

func (GetNewAddressCommand) ID

ID ...

func (GetNewAddressCommand) Method

func (GetNewAddressCommand) Method() string

Method ...

func (GetNewAddressCommand) Params

func (cmd GetNewAddressCommand) Params() []interface{}

Params ...

type GetNewAddressResult

type GetNewAddressResult = string

GetNewAddressResult ...

type ImportAddressCommand

type ImportAddressCommand struct {
	Adress string
	Tag    string
	Rescan bool
}

func (ImportAddressCommand) ID

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) Method

func (ListAccountsCommand) Method() string

func (ListAccountsCommand) Params

func (cmd ListAccountsCommand) Params() []interface{}

type ListAccountsResult

type ListAccountsResult map[string]float64

type ListUnspentCommand

type ListUnspentCommand struct {
	Min       int
	Addresses []string
}

func (ListUnspentCommand) ID

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

type OmniCreatePayloadSimpleSendCommand struct {
	Property int32
	Amount   string
}

func (OmniCreatePayloadSimpleSendCommand) ID

func (OmniCreatePayloadSimpleSendCommand) Method

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) Method

func (OmniCreateRawTxChangeCommand) Params

func (cmd OmniCreateRawTxChangeCommand) Params() []interface{}

type OmniCreateRawTxChangeParameter

type OmniCreateRawTxChangeParameter struct {
	Tx           string  `json:"txid"`
	Vout         uint32  `json:"vout"`
	ScriptPubKey string  `json:"scriptPubKey"`
	Value        float64 `json:"value"`
}

type OmniCreateRawTxChangeResult

type OmniCreateRawTxChangeResult = string

type OmniCreateRawTxOpReturnCommand

type OmniCreateRawTxOpReturnCommand struct {
	Raw     string
	Payload string
}

func (OmniCreateRawTxOpReturnCommand) ID

func (OmniCreateRawTxOpReturnCommand) Method

func (OmniCreateRawTxOpReturnCommand) Params

func (cmd OmniCreateRawTxOpReturnCommand) Params() []interface{}

type OmniCreateRawTxOpReturnResult

type OmniCreateRawTxOpReturnResult = string

type OmniCreateRawTxReferenceCommand

type OmniCreateRawTxReferenceCommand struct {
	Raw         string
	Destination string
	Amount      float64
}

func (OmniCreateRawTxReferenceCommand) ID

func (OmniCreateRawTxReferenceCommand) Method

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) ID

ID ...

func (OmniFoundedSendCommand) Method

func (OmniFoundedSendCommand) Method() string

Method ...

func (OmniFoundedSendCommand) Params

func (cmd OmniFoundedSendCommand) Params() []interface{}

Params ...

type OmniFoundedSendResult

type OmniFoundedSendResult = string

OmniFoundedSendResult ...

type OmniGetBalanceCommand

type OmniGetBalanceCommand struct {
	Address    string
	PropertyID int32
}

func (OmniGetBalanceCommand) ID

func (OmniGetBalanceCommand) Method

func (OmniGetBalanceCommand) Method() string

func (OmniGetBalanceCommand) Params

func (cmd OmniGetBalanceCommand) Params() []interface{}

type OmniGetBalanceResult

type OmniGetBalanceResult = struct {
	Balance  string
	Reserved string
	Frozen   string
}

type OmniGetInfoCommand

type OmniGetInfoCommand struct{}

func (OmniGetInfoCommand) ID

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) Method

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) Method

func (OmniListBlockTransactionsCommand) Params

func (cmd OmniListBlockTransactionsCommand) Params() []interface{}

type OmniListBlockTransactionsResult

type OmniListBlockTransactionsResult = []string

type Previous

type Previous struct {
	TxID         string  `json:"txid"`
	Vout         uint32  `json:"vout"`
	ScriptPubKey string  `json:"scriptPubKey"`
	RedeemScript string  `json:"redeemScript"`
	Value        float64 `json:"value"`
}

type SendRawTransactionCommand

type SendRawTransactionCommand struct {
	Hex           string
	AllowHighFees bool
}

func (SendRawTransactionCommand) ID

func (SendRawTransactionCommand) Method

func (SendRawTransactionCommand) Params

func (cmd SendRawTransactionCommand) Params() []interface{}

type SendRawTransactionResult

type SendRawTransactionResult = string

type SignRawTransactionCommand

type SignRawTransactionCommand struct {
	Hex      string
	Previous []Previous
	Keys     []string
	Type     string
}

func (SignRawTransactionCommand) ID

func (SignRawTransactionCommand) Method

func (SignRawTransactionCommand) Params

func (cmd SignRawTransactionCommand) Params() []interface{}

type SignRawTransactionResult

type SignRawTransactionResult = struct {
	Hex      string                    `json:"hex"`
	Complete bool                      `json:"complete"`
	Errors   []signRawTransactionError `json:"errors"`
}

type SignRawTransactionWithKeyCommand

type SignRawTransactionWithKeyCommand struct {
	Hex      string
	Previous []Previous
	Keys     []string
	Type     string
}

func (SignRawTransactionWithKeyCommand) ID

func (SignRawTransactionWithKeyCommand) Method

func (SignRawTransactionWithKeyCommand) Params

func (cmd SignRawTransactionWithKeyCommand) Params() []interface{}

type SignRawTransactionWithKeyResult

type SignRawTransactionWithKeyResult = string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL