Documentation ¶
Index ¶
- Constants
- func BuildEthTransaction(ctx context.Context, cli *ethclient.Client, priKey cryptotypes.PrivKey, ...) (*ethtypes.Transaction, error)
- func BuildTxRaw(chainId string, sequence, accountNumber uint64, privKey cryptotypes.PrivKey, ...) (*tx.TxRaw, error)
- func BuildTxRawWithCli(cli buildTxClient, privKey cryptotypes.PrivKey, msgs []sdk.Msg, ...) (*tx.TxRaw, error)
- func GetChainInfo(cli buildTxClient, from string) (account authtypes.AccountI, chainId string, gasPrice sdk.Coin, err error)
- func NewAccountCodec() types.InterfaceRegistry
- func NewAuthInfo(pubKey cryptotypes.PubKey, sequence, gasLimit uint64, gasPrice sdk.Coin) (*tx.AuthInfo, error)
- func NewTxBody(msgs []sdk.Msg, memo string, timeout uint64) (*tx.TxBody, error)
- func WaitMined(cli waitMinedClient, txHash string, timeout, pollInterval time.Duration) (*sdk.TxResponse, error)
Constants ¶
View Source
const DefGasLimit uint64 = 200000
Variables ¶
This section is empty.
Functions ¶
func BuildEthTransaction ¶
func BuildTxRaw ¶
func BuildTxRawWithCli ¶
func GetChainInfo ¶
func NewAccountCodec ¶
func NewAccountCodec() types.InterfaceRegistry
func NewAuthInfo ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.