Documentation ¶
Index ¶
- Constants
- Variables
- func NewEthClient(ctx context.Context, rawurl string) (*ethClient, error)
- type Account
- type Block
- type BlockResults
- type Client
- func (cli *Client) Auth() exposed.Auth
- func (cli *Client) Distribution() exposed.Distribution
- func (cli *Client) Evm() exposed.Evm
- func (cli *Client) Feesplit() exposed.Feesplit
- func (cli *Client) GetConfig() gosdktypes.ClientConfig
- func (cli *Client) Governance() exposed.Governance
- func (cli *Client) Ibc() exposed.Ibc
- func (cli *Client) Slashing() exposed.Slashing
- func (cli *Client) Staking() exposed.Staking
- func (cli *Client) Tendermint() exposed.Tendermint
- func (cli *Client) Token() exposed.Token
- func (cli *Client) Wasm() exposed.Wasm
- type DelegatorResponse
- type Proposal
- type QueryResCode
- type QueryResStorage
- type ResultCommit
- type ResultTx
- type ResultTxSearch
- type ResultValidators
- type TokenResp
- type TxResponse
- type Validator
Constants ¶
View Source
const ( BroadcastSync = types.BroadcastSync BroadcastAsync = types.BroadcastAsync BroadcastBlock = types.BroadcastBlock // vote for the proposal VoteYes = "yes" VoteAbstain = "abstain" VoteNo = "no" VoteNoWithVeto = "no_with_veto" )
const
Variables ¶
View Source
var ( // NewClientConfig gives an easy way for the callers to set client config NewClientConfig = types.NewClientConfig )
Functions ¶
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client - structure of the main client of OKBChain GoSDK
func NewClient ¶
func NewClient(config gosdktypes.ClientConfig) Client
NewClient creates a new instance of Client
func (*Client) Distribution ¶
func (cli *Client) Distribution() exposed.Distribution
func (*Client) GetConfig ¶
func (cli *Client) GetConfig() gosdktypes.ClientConfig
GetConfig returns the client config
func (*Client) Governance ¶
func (cli *Client) Governance() exposed.Governance
func (*Client) Tendermint ¶
func (cli *Client) Tendermint() exposed.Tendermint
Directories ¶
Path | Synopsis |
---|---|
sample
|
|
Package types is a generated GoMock package.
|
Package types is a generated GoMock package. |
Click to show internal directories.
Click to hide internal directories.