Documentation ¶
Index ¶
- type Node
- func (hc Node) GetClient() *hedera.Client
- func (hc Node) SubmitScheduleSign(scheduleID hedera.ScheduleID) (*hedera.TransactionResponse, error)
- func (hc Node) SubmitScheduledHbarTransferTransaction(transfers []transfer.Hedera, payerAccountID hedera.AccountID, memo string) (*hedera.TransactionResponse, error)
- func (hc Node) SubmitScheduledNftTransferTransaction(nftID hedera.NftID, payerAccount hedera.AccountID, sender hedera.AccountID, ...) (*hedera.TransactionResponse, error)
- func (hc Node) SubmitScheduledTokenBurnTransaction(tokenID hedera.TokenID, amount int64, payerAccountID hedera.AccountID, ...) (*hedera.TransactionResponse, error)
- func (hc Node) SubmitScheduledTokenMintTransaction(tokenID hedera.TokenID, amount int64, payerAccountID hedera.AccountID, ...) (*hedera.TransactionResponse, error)
- func (hc Node) SubmitScheduledTokenTransferTransaction(tokenID hedera.TokenID, transfers []transfer.Hedera, ...) (*hedera.TransactionResponse, error)
- func (hc Node) SubmitTopicConsensusMessage(topicId hedera.TopicID, message []byte) (*hedera.TransactionID, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Node ¶
type Node struct {
// contains filtered or unexported fields
}
Node struct holding the hedera.Client. Used to interact with Hedera consensus nodes
func NewNodeClient ¶
NewNodeClient creates new instance of hedera.Client based on the provided client configuration
func (Node) GetClient ¶
func (hc Node) GetClient() *hedera.Client
GetClient returns the hedera.Client
func (Node) SubmitScheduleSign ¶ added in v1.4.0
func (hc Node) SubmitScheduleSign(scheduleID hedera.ScheduleID) (*hedera.TransactionResponse, error)
SubmitScheduleSign submits a ScheduleSign transaction for a given ScheduleID
func (Node) SubmitScheduledHbarTransferTransaction ¶ added in v1.4.0
func (hc Node) SubmitScheduledHbarTransferTransaction( transfers []transfer.Hedera, payerAccountID hedera.AccountID, memo string) (*hedera.TransactionResponse, error)
SubmitScheduledHbarTransferTransaction creates an hbar transfer transaction and submits it as a scheduled transaction
func (Node) SubmitScheduledNftTransferTransaction ¶ added in v1.4.0
func (Node) SubmitScheduledTokenBurnTransaction ¶ added in v1.4.0
func (hc Node) SubmitScheduledTokenBurnTransaction(tokenID hedera.TokenID, amount int64, payerAccountID hedera.AccountID, memo string) (*hedera.TransactionResponse, error)
SubmitScheduledTokenBurnTransaction creates a token burn transaction and submits it as a scheduled burn transaction
func (Node) SubmitScheduledTokenMintTransaction ¶ added in v1.4.0
func (hc Node) SubmitScheduledTokenMintTransaction(tokenID hedera.TokenID, amount int64, payerAccountID hedera.AccountID, memo string) (*hedera.TransactionResponse, error)
SubmitScheduledTokenMintTransaction creates a token mint transaction and submits it as a scheduled mint transaction
func (Node) SubmitScheduledTokenTransferTransaction ¶ added in v1.4.0
func (hc Node) SubmitScheduledTokenTransferTransaction( tokenID hedera.TokenID, transfers []transfer.Hedera, payerAccountID hedera.AccountID, memo string) (*hedera.TransactionResponse, error)
SubmitScheduledTokenTransferTransaction creates a token transfer transaction and submits it as a scheduled transaction
func (Node) SubmitTopicConsensusMessage ¶
func (hc Node) SubmitTopicConsensusMessage(topicId hedera.TopicID, message []byte) (*hedera.TransactionID, error)
SubmitTopicConsensusMessage submits the provided message bytes to the specified HCS `topicId`