modulepackage
0.0.0-20211115064344-43d3c15679dd
Repository: https://github.com/oldmanfan/platon-go-sdk.git
Documentation: pkg.go.dev
# README
github.com/oldmanfan/platon-go-sdk
本项目使用Go语言, 实现了访问PlatON网络的RPC接口, 钱包管理, 以及内置合约操作方法. 详细 使用说明请参考使用说明文档.
# Packages
Package accounts implements high level Ethereum account management.
Package common contains various helper functions.
No description provided by the author
No description provided by the author
Package ethclient provides a client for the Ethereum RPC API.
Package event deals with subscriptions to real-time events.
No description provided by the author
No description provided by the author
Package log15 provides an opinionated, simple toolkit for best-practice logging that is
both human and machine readable.
Go port of Coda Hale's Metrics library
<https://github.com/rcrowley/go-metrics>
Coda Hale's original work: <https://github.com/codahale/metrics>.
No description provided by the author
No description provided by the author
No description provided by the author
Package rlp implements the RLP serialization format.
Package rpc provides access to the exported methods of an object across a network
or other I/O connection.
No description provided by the author
# Variables
NotFound is returned by API methods if the requested item does not exist.
# Structs
CallMsg contains parameters for contract calls.
No description provided by the author
No description provided by the author
FilterQuery contains options for contract log filtering.
Request parameter for add a Filter.
No description provided by the author
data for platon_sign.
SyncProgress gives progress indications when the node is synchronising with the Ethereum network.
# Interfaces
ChainReader provides access to the blockchain.
ChainStateReader wraps access to the state trie of the canonical blockchain.
ChainSyncReader wraps access to the node's current sync status.
A ContractCaller provides contract calls, essentially transactions that are executed by the EVM but not mined into the blockchain.
GasEstimator wraps EstimateGas, which tries to estimate the gas needed to execute a specific transaction based on the pending state.
GasPricer wraps the gas price oracle, which monitors the blockchain to determine the optimal gas price given current fee market conditions.
LogFilterer provides access to contract log events using a one-off query or continuous event subscription.
PendingContractCaller can be used to perform calls against the pending state.
A PendingStateEventer provides access to real time notifications about changes to the pending state.
A PendingStateReader provides access to the pending state, which is the result of all known executable transactions which have not yet been included in the blockchain.
Subscription represents an event subscription where events are delivered on a data channel.
TransactionReader provides access to past transactions and their receipts.
TransactionSender wraps transaction sending.