Documentation ¶
Index ¶
- func LotusGasEstimateMessageGas(rpcAddr, token string, message *types.Message, maxFee int64) (gasLimit float64, gasFeeCap, gasPremium string, err error)
- func LotusMpoolGetNonce(rpcAddr, token string, addr string) (float64, error)
- func LotusMpoolPush(rpcAddr, token string, signedMessage *types.SignedMessage) (cid.Cid, error)
- func LotusStateGetActor(rpcAddr, token string, addr string) (string, string, float64, string, error)
- func LotusStateLookupID(rpcAddr, token string, addr string) (string, error)
- func LotusStateMinerInfo(rpcAddr, token string, minerId string) (string, string, []interface{}, error)
- func LotusWalletBalance(rpcAddr, token string, addr string) (types.BigInt, error)
- func NewClient(rpcAddr, token string, method Method, params interface{}) *client
- type Method
- type MsgLookup
- type Response
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func LotusGasEstimateMessageGas ¶ added in v0.1.0
func LotusMpoolGetNonce ¶ added in v0.1.0
func LotusMpoolPush ¶ added in v0.1.0
func LotusMpoolPush(rpcAddr, token string, signedMessage *types.SignedMessage) (cid.Cid, error)
func LotusStateGetActor ¶ added in v0.1.1
func LotusStateLookupID ¶ added in v0.1.1
func LotusStateMinerInfo ¶ added in v0.1.1
func LotusWalletBalance ¶ added in v0.1.0
Types ¶
type Method ¶
type Method string
const ( WalletBalance Method = "Filecoin.WalletBalance" MpoolPush Method = "Filecoin.MpoolPush" GasEstimateMessageGas Method = "Filecoin.GasEstimateMessageGas" MpoolGetNonce Method = "Filecoin.MpoolGetNonce" StateLookupID Method = "Filecoin.StateLookupID" StateGetActor Method = "Filecoin.StateGetActor" StateMinerInfo Method = "Filecoin.StateMinerInfo" StateWaitMsgLimited Method = "Filecoin.StateWaitMsgLimited" StateSearchMsg Method = "Filecoin.StateSearchMsg" )
type MsgLookup ¶ added in v0.2.0
type MsgLookup struct { Message cid.Cid // Can be different than requested, in case it was replaced, but only gas values changed Receipt types.MessageReceipt ReturnDec interface{} TipSet types.TipSetKey Height abi.ChainEpoch }
func LotusStateSearchMsg ¶ added in v0.2.0
Click to show internal directories.
Click to hide internal directories.