Versions in this module Expand all Collapse all v3 v3.0.0 Jan 20, 2023 Changes in this version + type Data struct + Params []Value + Tag string + type Init struct + Amount int64 + Code string + Data []interface{} + GasLimit int64 + GasPrice int64 + Nonce int + PubKey string + Signature string + ToAddr string + Version int + type Payment struct + Amount int64 + Code string + Data string + GasLimit int64 + GasPrice int64 + Nonce int + PubKey string + Signature string + ToAddr string + Version int + type Provider struct + func NewProvider(host string) *Provider + func (provider *Provider) CreateTransaction(payload TransactionPayload) (*jsonrpc.RPCResponse, error) + func (provider *Provider) CreateTransactionBatch(payloads [][]TransactionPayload) (jsonrpc.RPCResponses, error) + func (provider *Provider) CreateTransactionRaw(payload []byte) (*jsonrpc.RPCResponse, error) + func (provider *Provider) DSBlockListing(ds_block_listing int) (*core.BlockList, error) + func (provider *Provider) GetBalance(user_address string) (*core.BalanceAndNonce, error) + func (provider *Provider) GetBlockchainInfo() (*core.BlockchainInfo, error) + func (provider *Provider) GetContractAddressFromTransactionID(transaction_id string) (string, error) + func (provider *Provider) GetCurrentDSComm() (*core.DSComm, error) + func (provider *Provider) GetCurrentDSEpoch() (string, error) + func (provider *Provider) GetCurrentMiniEpoch() (string, error) + func (provider *Provider) GetDSBlockRate() (float64, error) + func (provider *Provider) GetDsBlock(block_number string) (*core.DsBlockT, error) + func (provider *Provider) GetDsBlockVerbose(block_number string) (*core.DsBlockT, error) + func (provider *Provider) GetLatestDsBlock() (*core.DSBlock, error) + func (provider *Provider) GetLatestTxBlock() (*core.TxBlockT, error) + func (provider *Provider) GetMinerInfo(dsNumber string) (*core.MinerInfo, error) + func (provider *Provider) GetMinimumGasPrice() (string, error) + func (provider *Provider) GetNetworkId() (string, error) + func (provider *Provider) GetNumDSBlocks() (string, error) + func (provider *Provider) GetNumTransactions() (string, error) + func (provider *Provider) GetNumTxBlocks() (string, error) + func (provider *Provider) GetNumTxnsDSEpoch() (string, error) + func (provider *Provider) GetNumTxnsTxEpoch() (string, error) + func (provider *Provider) GetPendingTxn(tx string) (*core.PendingTxnResult, error) + func (provider *Provider) GetPendingTxns() (*core.PendingTxns, error) + func (provider *Provider) GetPrevDSDifficulty() (int64, error) + func (provider *Provider) GetPrevDifficulty() (int64, error) + func (provider *Provider) GetRecentTransactions() (*core.Transactions, error) + func (provider *Provider) GetShardingStructure() (*core.ShardingStructure, error) + func (provider *Provider) GetSmartContractCode(contract_address string) (string, error) + func (provider *Provider) GetSmartContractInit(contract_address string) ([]core.ContractValue, error) + func (provider *Provider) GetSmartContractState(contract_address string) (*jsonrpc.RPCResponse, error) + func (provider *Provider) GetSmartContractSubState(contractAddress string, params ...interface{}) (string, error) + func (provider *Provider) GetSmartContracts(user_address string) (*jsonrpc.RPCResponse, error) + func (provider *Provider) GetStateProof(contractAddress string, hashedStorageKey string, blockNum *string) (*core.StateProof, error) + func (provider *Provider) GetTotalCoinSupply() (string, error) + func (provider *Provider) GetTransaction(transaction_hash string) (*core.Transaction, error) + func (provider *Provider) GetTransactionBatch(transactionHashes []string) ([]*core.Transaction, error) + func (provider *Provider) GetTransactionRate() (float64, error) + func (provider *Provider) GetTransactionStatus(transactionHash string) (*core.TransactionStatus, error) + func (provider *Provider) GetTransactionsForTxBlock(tx_block_number string) ([][]string, error) + func (provider *Provider) GetTxBlock(tx_block string) (*core.TxBlockT, error) + func (provider *Provider) GetTxBlockRate() (float64, error) + func (provider *Provider) GetTxBlockVerbose(tx_block string) (*core.TxBlockT, error) + func (provider *Provider) GetTxnBodiesForTxBlock(tx_block_number string) ([]core.Transaction, error) + func (provider *Provider) TxBlockListing(page int) (*core.BlockList, error) + type TransactionPayload struct + Amount string + Code string + Data string + GasLimit string + GasPrice string + Nonce int + Priority bool + PubKey string + Signature string + ToAddr string + Version int + func NewFromJson(data []byte) (*TransactionPayload, error) + func NewFromMap(middle map[string]interface{}) (*TransactionPayload, error) + func (pl *TransactionPayload) ToJson() ([]byte, error) + type Value struct + Type string + VName string + Value interface{} Other modules containing this package github.com/Zilliqa/gozilliqa-sdk