Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var NEOMainNet = "main"
View Source
var NEOTestNet = "test"
Functions ¶
This section is empty.
Types ¶
type ClaimableGASResponse ¶
type ClaimableGASResponse struct { Response *ErrorResponse Result struct { Data struct { Gas string `json:"gas"` Claims []struct { Asset string `json:"asset"` Index int `json:"index"` Txid string `json:"txid"` Value string `json:"value"` CreatedAtBlock int `json:"createdAtBlock"` } `json:"claims"` } `json:"data"` } `json:"result"` }
type ErrorResponse ¶
type NEONetWork ¶
type NEONetWork string
type O3APIInterface ¶
type O3APIInterface interface { GetNEOUTXO(address string) UTXOResponse GetNEOClimableGAS(address string) ClaimableGASResponse }
type O3Client ¶
func APIClientWithNEOPrivateNet ¶
func APIClientWithNEOPrivateNet() *O3Client
func APIClientWithNEOTestnet ¶
func APIClientWithNEOTestnet() *O3Client
func DefaultO3APIClient ¶
func DefaultO3APIClient() *O3Client
func (*O3Client) GetNEOClimableGAS ¶
func (o *O3Client) GetNEOClimableGAS(address string) ClaimableGASResponse
func (*O3Client) GetNEOUTXO ¶
func (o *O3Client) GetNEOUTXO(address string) UTXOResponse
type UTXOResponse ¶
type UTXOResponse struct { Response *ErrorResponse Result struct { Data []UTXOResultData `json:"data"` } `json:"result"` }
Click to show internal directories.
Click to hide internal directories.