Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Blockchain ¶
type Blockchain struct {
// contains filtered or unexported fields
}
func NewBlockchain ¶
func NewBlockchain(rpc string, chainId uint, privateKeyStr string) (*Blockchain, error)
func (*Blockchain) CheckTx ¶
func (b *Blockchain) CheckTx(ctx context.Context, params Transaction) (MintResult, error)
func (*Blockchain) SendTx ¶
func (b *Blockchain) SendTx(ctx context.Context, params Mint, nonce int) (Transaction, error)
type MintResult ¶
type TxCreationReverted ¶
type TxCreationReverted struct {
// contains filtered or unexported fields
}
func (TxCreationReverted) Error ¶
func (e TxCreationReverted) Error() string
Click to show internal directories.
Click to hide internal directories.