Documentation ¶
Index ¶
- type Client
- func (c Client) AccountExists(accountID hedera.AccountID) bool
- func (c Client) GetAccountCreditTransactionsAfterTimestamp(accountId hedera.AccountID, from int64) (*model.Response, error)
- func (c Client) GetAccountCreditTransactionsAfterTimestampString(accountId hedera.AccountID, from string) (*model.Response, error)
- func (c Client) GetAccountCreditTransactionsBetween(accountId hedera.AccountID, from, to int64) ([]model.Transaction, error)
- func (c Client) GetAccountDebitTransactionsAfterTimestampString(accountId hedera.AccountID, from string) (*model.Response, error)
- func (c Client) GetAccountTokenBurnTransactionsAfterTimestamp(accountId hedera.AccountID, from int64) (*model.Response, error)
- func (c Client) GetAccountTokenBurnTransactionsAfterTimestampString(accountId hedera.AccountID, from string) (*model.Response, error)
- func (c Client) GetAccountTokenMintTransactionsAfterTimestamp(accountId hedera.AccountID, from int64) (*model.Response, error)
- func (c Client) GetAccountTokenMintTransactionsAfterTimestampString(accountId hedera.AccountID, from string) (*model.Response, error)
- func (c Client) GetMessagesAfterTimestamp(topicId hedera.TopicID, from int64) ([]model.Message, error)
- func (c Client) GetMessagesForTopicBetween(topicId hedera.TopicID, from, to int64) ([]model.Message, error)
- func (c Client) GetSchedule(scheduleID string) (*model.Schedule, error)
- func (c Client) GetScheduledTransaction(transactionID string) (*model.Response, error)
- func (c Client) GetStateProof(transactionID string) ([]byte, error)
- func (c Client) GetTransaction(transactionID string) (*model.Response, error)
- func (c Client) TopicExists(topicID hedera.TopicID) bool
- func (c Client) WaitForScheduledTransaction(txId string, onSuccess, onFailure func())
- func (c Client) WaitForTransaction(txId string, onSuccess, onFailure func())
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) AccountExists ¶
func (Client) GetAccountCreditTransactionsAfterTimestamp ¶
func (Client) GetAccountCreditTransactionsAfterTimestampString ¶ added in v1.4.0
func (Client) GetAccountCreditTransactionsBetween ¶
func (c Client) GetAccountCreditTransactionsBetween(accountId hedera.AccountID, from, to int64) ([]model.Transaction, error)
GetAccountCreditTransactionsBetween returns all incoming Transfers for the specified account between timestamp `from` and `to` excluded
func (Client) GetAccountDebitTransactionsAfterTimestampString ¶ added in v1.4.0
func (Client) GetAccountTokenBurnTransactionsAfterTimestamp ¶ added in v1.4.0
func (Client) GetAccountTokenBurnTransactionsAfterTimestampString ¶ added in v1.4.0
func (Client) GetAccountTokenMintTransactionsAfterTimestamp ¶ added in v1.4.0
func (Client) GetAccountTokenMintTransactionsAfterTimestampString ¶ added in v1.4.0
func (Client) GetMessagesAfterTimestamp ¶
func (c Client) GetMessagesAfterTimestamp(topicId hedera.TopicID, from int64) ([]model.Message, error)
GetMessagesAfterTimestamp returns all Topic messages after the given timestamp
func (Client) GetMessagesForTopicBetween ¶
func (c Client) GetMessagesForTopicBetween(topicId hedera.TopicID, from, to int64) ([]model.Message, error)
GetMessagesForTopicBetween returns all Topic messages for the specified topic between timestamp `from` and `to` excluded
func (Client) GetSchedule ¶ added in v1.4.0
GetSchedule retrieves a schedule entity by its id
func (Client) GetScheduledTransaction ¶ added in v1.4.0
GetScheduledTransaction gets the Scheduled transaction of an executed transaction
func (Client) GetTransaction ¶
func (Client) TopicExists ¶
func (Client) WaitForScheduledTransaction ¶ added in v1.4.0
WaitForScheduledTransaction Polls the transaction at intervals. Depending on the result, the corresponding `onSuccess` and `onFailure` functions are called
func (Client) WaitForTransaction ¶
WaitForTransaction Polls the transaction at intervals. Depending on the result, the corresponding `onSuccess` and `onFailure` functions are called