Documentation ¶
Index ¶
- type Client
- func (c Client) CreateAccount(initialBalance hedera.Hbar) (*hedera.AccountID, *hedera.PrivateKey, error)
- func (c Client) DeleteAccount(accountId hedera.AccountID, privateKey *hedera.PrivateKey) error
- func (c Client) FindTransaction(ctx context.Context, hash string) (*types.Transaction, error)
- func (c Client) GetAccountBalance(ctx context.Context, account *types.AccountIdentifier) (*types.AccountBalanceResponse, error)
- func (c Client) GetOperator(index int) Operator
- func (c Client) Submit(ctx context.Context, memo string, operations []*types.Operation, ...) (string, error)
- type Operator
- type Server
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
func (Client) CreateAccount ¶
func (Client) DeleteAccount ¶
func (Client) FindTransaction ¶
func (Client) GetAccountBalance ¶
func (c Client) GetAccountBalance(ctx context.Context, account *types.AccountIdentifier) ( *types.AccountBalanceResponse, error, )
func (Client) GetOperator ¶
func (Client) Submit ¶
func (c Client) Submit( ctx context.Context, memo string, operations []*types.Operation, signers map[string]hedera.PrivateKey, ) (string, error)
Submit submits the operations to the network, goes through the construction preprocess, metadata, payloads, combine, and submit workflow. Note payloads signing happens between payloads and combine.
Click to show internal directories.
Click to hide internal directories.