Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Block ¶
type Block struct { ID int `json:"id"` JSONRPC string `json:"jsonrpc"` Result models.Block `json:"result"` }
Block represents the JSON schema of a response from a NEO node, where the expected result is all the data about a particular block.
type Integer ¶
type Integer struct { ID int `json:"id"` JSONRPC string `json:"jsonrpc"` Result int64 `json:"result"` }
Integer represents the JSON schema of a response from a NEO node, where the expected result is an integer.
type String ¶
type String struct { ID int `json:"id"` JSONRPC string `json:"jsonrpc"` Result string `json:"result"` }
String represents the JSON schema of a response from a NEO node, where the expected result is a string.
type StringArray ¶
type StringArray struct { ID int `json:"id"` JSONRPC string `json:"jsonrpc"` Result []string `json:"result"` }
StringArray represents the JSON schema of a response from a NEO node, where the expected result is an array of strings.
type StringMap ¶
type StringMap struct { ID int `json:"id"` JSONRPC string `json:"jsonrpc"` Result map[string]interface{} `json:"result"` }
StringMap represents the JSON schema of a response from a NEO node, where the expected result is an object where the keys are strings.
type Transaction ¶
type Transaction struct { ID int `json:"id"` JSONRPC string `json:"jsonrpc"` Result models.Transaction `json:"result"` }
Transaction represents the JSON schema of a response from a NEO node, where the expected result is all the data about a particular Transaction.