go-sdk
atlasclient
is forked from ethclient
. It inherits most of the functionality of ethclient
and adds functionality specific to the Atlas network.
atlasclient
is a client for interacting with the Atlas network. It provides a convenient way to connect to the Atlas network, send transactions, interact with smart contracts, and retrieve blockchain data.
Features of atlasclient
include:
Connecting to an Atlas network: You can connect to a specific Atlas network, such as the mainnet or a testnet, using the client.
Retrieving blockchain data: You can fetch information about blocks, transactions, and account balances from the Atlas blockchain.
Sending transactions: You can create and send transactions to perform actions on the Atlas network, such as transferring ether or interacting with smart contracts.
Interacting with smart contracts: You can deploy smart contracts, call their functions, and retrieve their state using the client.**
The functions of atlasclient
inherited from ethclient
are not introduced in this document. We will introduce the unique functions of atlasclient
in detail.
Install
Connect to atlas network
Atlas network specific features
MAPBlockByHash
Obtain block information through block hash.
MAPBlockByNumber
Get the block information through the block height. If number is nil, get the latest block information.
MAPHeaderByNumber
Get the block header information through the block height. If number is nil, get the latest block header information.
GetSnapshot
Get the snapshot information of the specified block height. If number is nil, get the latest snapshot information.
Last updated