package
0.0.72
Repository: https://github.com/akash-network/akash-api.git
Documentation: pkg.go.dev

# Packages

No description provided by the author

# Functions

NewClient creates a new client.
NewQueryClient creates new query client instance based on a Cosmos SDK client context.
WithConfirmFn returns a BroadcastOption that sets the ConfirmFn function configuration for the transaction.
WithFees returns a BroadcastOption that sets the fees configuration for the transaction.
WithGas returns a BroadcastOption that sets the gas setting configuration for the transaction.
WithGasAdjustment returns a BroadcastOption that sets the gas adjustment configuration for the transaction.
WithGasPrices returns a BroadcastOption that sets the gas price configuration for the transaction.
WithNote returns a BroadcastOption that sets the note configuration for the transaction.
WithResultCodeAsError returns a BroadcastOption that enables the result code as error configuration for the transaction.
WithSkipConfirm returns a BroadcastOption that sets whether to skip or not the confirmation for the transaction.
WithTimeoutHeight returns a BroadcastOption that sets the timeout height configuration for the transaction.

# Constants

No description provided by the author
No description provided by the author

# Variables

No description provided by the author
ErrClientNotFound is a new error with message "Client not found".
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Structs

BroadcastOptions defines the options allowed to configure a transaction broadcast.
No description provided by the author

# Interfaces

Client is the umbrella interface that exposes every other client's modules.
go:generate mockery --name NodeClient --output ./mocks.
QueryClient is the interface that exposes query modules.
TxClient is the interface that wraps the Broadcast method.

# Type aliases

BroadcastOption is a function that takes as first argument a pointer to BroadcastOptions and returns an error if the option cannot be configured.
No description provided by the author
No description provided by the author