Documentation ¶
Index ¶
- Constants
- type Client
- func (c *Client) GetLogs(ctx context.Context, chainID int, page int, ...) (*GetLogs, error)
- func (c *Client) GetLogsRange(ctx context.Context, chainID int, startBlock int, endBlock int, page int, ...) (*GetLogsRange, error)
- func (c *Client) GetLogsResolvers(ctx context.Context, chainID int, page int, ...) (*GetLogsResolvers, error)
- func (c *Client) GetReceipts(ctx context.Context, chainID int, page int, ...) (*GetReceipts, error)
- func (c *Client) GetReceiptsRange(ctx context.Context, chainID int, startBlock int, endBlock int, page int, ...) (*GetReceiptsRange, error)
- func (c *Client) GetReceiptsResolvers(ctx context.Context, chainID int, page int, ...) (*GetReceiptsResolvers, error)
- func (c *Client) GetTransactions(ctx context.Context, chainID int, page int, ...) (*GetTransactions, error)
- func (c *Client) GetTransactionsRange(ctx context.Context, chainID int, startBlock int, endBlock int, page int, ...) (*GetTransactionsRange, error)
- func (c *Client) GetTransactionsResolvers(ctx context.Context, chainID int, page int, ...) (*GetTransactionsResolvers, error)
- type GetLogs
- type GetLogsRange
- type GetLogsResolvers
- type GetReceipts
- type GetReceiptsRange
- type GetReceiptsResolvers
- type GetTransactions
- type GetTransactionsRange
- type GetTransactionsResolvers
- type Query
Constants ¶
View Source
const GetLogsDocument = `` /* 217-byte string literal not displayed */
View Source
const GetLogsRangeDocument = `` /* 315-byte string literal not displayed */
View Source
const GetLogsResolversDocument = `` /* 431-byte string literal not displayed */
View Source
const GetReceiptsDocument = `` /* 257-byte string literal not displayed */
View Source
const GetReceiptsRangeDocument = `` /* 355-byte string literal not displayed */
View Source
const GetReceiptsResolversDocument = `` /* 403-byte string literal not displayed */
View Source
const GetTransactionsDocument = `` /* 234-byte string literal not displayed */
View Source
const GetTransactionsRangeDocument = `` /* 332-byte string literal not displayed */
View Source
const GetTransactionsResolversDocument = `` /* 437-byte string literal not displayed */
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
func (*Client) GetLogsRange ¶
func (*Client) GetLogsResolvers ¶
func (c *Client) GetLogsResolvers(ctx context.Context, chainID int, page int, httpRequestOptions ...client.HTTPRequestOption) (*GetLogsResolvers, error)
func (*Client) GetReceipts ¶
func (c *Client) GetReceipts(ctx context.Context, chainID int, page int, httpRequestOptions ...client.HTTPRequestOption) (*GetReceipts, error)
func (*Client) GetReceiptsRange ¶
func (*Client) GetReceiptsResolvers ¶
func (c *Client) GetReceiptsResolvers(ctx context.Context, chainID int, page int, httpRequestOptions ...client.HTTPRequestOption) (*GetReceiptsResolvers, error)
func (*Client) GetTransactions ¶
func (c *Client) GetTransactions(ctx context.Context, chainID int, page int, httpRequestOptions ...client.HTTPRequestOption) (*GetTransactions, error)
func (*Client) GetTransactionsRange ¶
func (*Client) GetTransactionsResolvers ¶
func (c *Client) GetTransactionsResolvers(ctx context.Context, chainID int, page int, httpRequestOptions ...client.HTTPRequestOption) (*GetTransactionsResolvers, error)
type GetLogs ¶
type GetLogs struct { Response []*struct { ContractAddress string "json:\"contract_address\" graphql:\"contract_address\"" ChainID int "json:\"chain_id\" graphql:\"chain_id\"" Topics []string "json:\"topics\" graphql:\"topics\"" Data string "json:\"data\" graphql:\"data\"" BlockNumber int "json:\"block_number\" graphql:\"block_number\"" TxHash string "json:\"tx_hash\" graphql:\"tx_hash\"" TxIndex int "json:\"tx_index\" graphql:\"tx_index\"" BlockHash string "json:\"block_hash\" graphql:\"block_hash\"" Index int "json:\"index\" graphql:\"index\"" Removed bool "json:\"removed\" graphql:\"removed\"" } "json:\"response\" graphql:\"response\"" }
type GetLogsRange ¶
type GetLogsRange struct { Response []*struct { ContractAddress string "json:\"contract_address\" graphql:\"contract_address\"" ChainID int "json:\"chain_id\" graphql:\"chain_id\"" Topics []string "json:\"topics\" graphql:\"topics\"" Data string "json:\"data\" graphql:\"data\"" BlockNumber int "json:\"block_number\" graphql:\"block_number\"" TxHash string "json:\"tx_hash\" graphql:\"tx_hash\"" TxIndex int "json:\"tx_index\" graphql:\"tx_index\"" BlockHash string "json:\"block_hash\" graphql:\"block_hash\"" Index int "json:\"index\" graphql:\"index\"" Removed bool "json:\"removed\" graphql:\"removed\"" } "json:\"response\" graphql:\"response\"" }
type GetLogsResolvers ¶
type GetLogsResolvers struct { Response []*struct { Receipt struct { ChainID int "json:\"chain_id\" graphql:\"chain_id\"" Type int "json:\"type\" graphql:\"type\"" PostState string "json:\"post_state\" graphql:\"post_state\"" Status int "json:\"status\" graphql:\"status\"" CumulativeGasUsed int "json:\"cumulative_gas_used\" graphql:\"cumulative_gas_used\"" Bloom string "json:\"bloom\" graphql:\"bloom\"" TxHash string "json:\"tx_hash\" graphql:\"tx_hash\"" ContractAddress string "json:\"contract_address\" graphql:\"contract_address\"" GasUsed int "json:\"gas_used\" graphql:\"gas_used\"" BlockNumber int "json:\"block_number\" graphql:\"block_number\"" TransactionIndex int "json:\"transaction_index\" graphql:\"transaction_index\"" } "json:\"receipt\" graphql:\"receipt\"" Transaction struct { ChainID int "json:\"chain_id\" graphql:\"chain_id\"" TxHash string "json:\"tx_hash\" graphql:\"tx_hash\"" Protected bool "json:\"protected\" graphql:\"protected\"" Type int "json:\"type\" graphql:\"type\"" Data string "json:\"data\" graphql:\"data\"" Gas int "json:\"gas\" graphql:\"gas\"" GasPrice int "json:\"gas_price\" graphql:\"gas_price\"" GasTipCap string "json:\"gas_tip_cap\" graphql:\"gas_tip_cap\"" GasFeeCap string "json:\"gas_fee_cap\" graphql:\"gas_fee_cap\"" Value string "json:\"value\" graphql:\"value\"" Nonce int "json:\"nonce\" graphql:\"nonce\"" To string "json:\"to\" graphql:\"to\"" } "json:\"transaction\" graphql:\"transaction\"" } "json:\"response\" graphql:\"response\"" }
type GetReceipts ¶
type GetReceipts struct { Response []*struct { ChainID int "json:\"chain_id\" graphql:\"chain_id\"" Type int "json:\"type\" graphql:\"type\"" PostState string "json:\"post_state\" graphql:\"post_state\"" Status int "json:\"status\" graphql:\"status\"" CumulativeGasUsed int "json:\"cumulative_gas_used\" graphql:\"cumulative_gas_used\"" Bloom string "json:\"bloom\" graphql:\"bloom\"" TxHash string "json:\"tx_hash\" graphql:\"tx_hash\"" ContractAddress string "json:\"contract_address\" graphql:\"contract_address\"" GasUsed int "json:\"gas_used\" graphql:\"gas_used\"" BlockNumber int "json:\"block_number\" graphql:\"block_number\"" TransactionIndex int "json:\"transaction_index\" graphql:\"transaction_index\"" } "json:\"response\" graphql:\"response\"" }
type GetReceiptsRange ¶
type GetReceiptsRange struct { Response []*struct { ChainID int "json:\"chain_id\" graphql:\"chain_id\"" Type int "json:\"type\" graphql:\"type\"" PostState string "json:\"post_state\" graphql:\"post_state\"" Status int "json:\"status\" graphql:\"status\"" CumulativeGasUsed int "json:\"cumulative_gas_used\" graphql:\"cumulative_gas_used\"" Bloom string "json:\"bloom\" graphql:\"bloom\"" TxHash string "json:\"tx_hash\" graphql:\"tx_hash\"" ContractAddress string "json:\"contract_address\" graphql:\"contract_address\"" GasUsed int "json:\"gas_used\" graphql:\"gas_used\"" BlockNumber int "json:\"block_number\" graphql:\"block_number\"" TransactionIndex int "json:\"transaction_index\" graphql:\"transaction_index\"" } "json:\"response\" graphql:\"response\"" }
type GetReceiptsResolvers ¶
type GetReceiptsResolvers struct { Response []*struct { Logs []*struct { ContractAddress string "json:\"contract_address\" graphql:\"contract_address\"" ChainID int "json:\"chain_id\" graphql:\"chain_id\"" Topics []string "json:\"topics\" graphql:\"topics\"" Data string "json:\"data\" graphql:\"data\"" BlockNumber int "json:\"block_number\" graphql:\"block_number\"" TxHash string "json:\"tx_hash\" graphql:\"tx_hash\"" TxIndex int "json:\"tx_index\" graphql:\"tx_index\"" BlockHash string "json:\"block_hash\" graphql:\"block_hash\"" Index int "json:\"index\" graphql:\"index\"" Removed bool "json:\"removed\" graphql:\"removed\"" } "json:\"logs\" graphql:\"logs\"" Transaction struct { ChainID int "json:\"chain_id\" graphql:\"chain_id\"" TxHash string "json:\"tx_hash\" graphql:\"tx_hash\"" Protected bool "json:\"protected\" graphql:\"protected\"" Type int "json:\"type\" graphql:\"type\"" Data string "json:\"data\" graphql:\"data\"" Gas int "json:\"gas\" graphql:\"gas\"" GasPrice int "json:\"gas_price\" graphql:\"gas_price\"" GasTipCap string "json:\"gas_tip_cap\" graphql:\"gas_tip_cap\"" GasFeeCap string "json:\"gas_fee_cap\" graphql:\"gas_fee_cap\"" Value string "json:\"value\" graphql:\"value\"" Nonce int "json:\"nonce\" graphql:\"nonce\"" To string "json:\"to\" graphql:\"to\"" } "json:\"transaction\" graphql:\"transaction\"" } "json:\"response\" graphql:\"response\"" }
type GetTransactions ¶
type GetTransactions struct { Response []*struct { ChainID int "json:\"chain_id\" graphql:\"chain_id\"" TxHash string "json:\"tx_hash\" graphql:\"tx_hash\"" Protected bool "json:\"protected\" graphql:\"protected\"" Type int "json:\"type\" graphql:\"type\"" Data string "json:\"data\" graphql:\"data\"" Gas int "json:\"gas\" graphql:\"gas\"" GasPrice int "json:\"gas_price\" graphql:\"gas_price\"" GasTipCap string "json:\"gas_tip_cap\" graphql:\"gas_tip_cap\"" GasFeeCap string "json:\"gas_fee_cap\" graphql:\"gas_fee_cap\"" Value string "json:\"value\" graphql:\"value\"" Nonce int "json:\"nonce\" graphql:\"nonce\"" To string "json:\"to\" graphql:\"to\"" } "json:\"response\" graphql:\"response\"" }
type GetTransactionsRange ¶
type GetTransactionsRange struct { Response []*struct { ChainID int "json:\"chain_id\" graphql:\"chain_id\"" TxHash string "json:\"tx_hash\" graphql:\"tx_hash\"" Protected bool "json:\"protected\" graphql:\"protected\"" Type int "json:\"type\" graphql:\"type\"" Data string "json:\"data\" graphql:\"data\"" Gas int "json:\"gas\" graphql:\"gas\"" GasPrice int "json:\"gas_price\" graphql:\"gas_price\"" GasTipCap string "json:\"gas_tip_cap\" graphql:\"gas_tip_cap\"" GasFeeCap string "json:\"gas_fee_cap\" graphql:\"gas_fee_cap\"" Value string "json:\"value\" graphql:\"value\"" Nonce int "json:\"nonce\" graphql:\"nonce\"" To string "json:\"to\" graphql:\"to\"" } "json:\"response\" graphql:\"response\"" }
type GetTransactionsResolvers ¶
type GetTransactionsResolvers struct { Response []*struct { Receipt struct { ChainID int "json:\"chain_id\" graphql:\"chain_id\"" Type int "json:\"type\" graphql:\"type\"" PostState string "json:\"post_state\" graphql:\"post_state\"" Status int "json:\"status\" graphql:\"status\"" CumulativeGasUsed int "json:\"cumulative_gas_used\" graphql:\"cumulative_gas_used\"" Bloom string "json:\"bloom\" graphql:\"bloom\"" TxHash string "json:\"tx_hash\" graphql:\"tx_hash\"" ContractAddress string "json:\"contract_address\" graphql:\"contract_address\"" GasUsed int "json:\"gas_used\" graphql:\"gas_used\"" BlockNumber int "json:\"block_number\" graphql:\"block_number\"" TransactionIndex int "json:\"transaction_index\" graphql:\"transaction_index\"" } "json:\"receipt\" graphql:\"receipt\"" Logs []*struct { ContractAddress string "json:\"contract_address\" graphql:\"contract_address\"" ChainID int "json:\"chain_id\" graphql:\"chain_id\"" Topics []string "json:\"topics\" graphql:\"topics\"" Data string "json:\"data\" graphql:\"data\"" BlockNumber int "json:\"block_number\" graphql:\"block_number\"" TxHash string "json:\"tx_hash\" graphql:\"tx_hash\"" TxIndex int "json:\"tx_index\" graphql:\"tx_index\"" BlockHash string "json:\"block_hash\" graphql:\"block_hash\"" Index int "json:\"index\" graphql:\"index\"" Removed bool "json:\"removed\" graphql:\"removed\"" } "json:\"logs\" graphql:\"logs\"" } "json:\"response\" graphql:\"response\"" }
type Query ¶
type Query struct { Logs []*model.Log "json:\"logs\" graphql:\"logs\"" LogsRange []*model.Log "json:\"logsRange\" graphql:\"logsRange\"" Receipts []*model.Receipt "json:\"receipts\" graphql:\"receipts\"" ReceiptsRange []*model.Receipt "json:\"receiptsRange\" graphql:\"receiptsRange\"" Transactions []*model.Transaction "json:\"transactions\" graphql:\"transactions\"" TransactionsRange []*model.Transaction "json:\"transactionsRange\" graphql:\"transactionsRange\"" }
Click to show internal directories.
Click to hide internal directories.