Documentation ¶
Index ¶
- func FindInnerInstructions(meta *rpc.TransactionMeta, index uint64) []solana.CompiledInstruction
- func FindInnerInstructionsFromParsedMeta(meta *rpc.ParsedTransactionMeta, index uint64) []*rpc.ParsedInstruction
- func GetComputeUnitPriceFromHelius(logger i_logger.ILogger, key string, accountKeys []string) (uint64, error)
- func GetFeeInfoFromParsedTx(meta *rpc.ParsedTransactionMeta, parsedTransaction *rpc.ParsedTransaction) (*type_.FeeInfo, error)
- func GetFeeInfoFromTx(meta *rpc.TransactionMeta, transaction *solana.Transaction) (*type_.FeeInfo, error)
- type Stack
- type TransferInstructionDataType
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FindInnerInstructions ¶
func FindInnerInstructions(meta *rpc.TransactionMeta, index uint64) []solana.CompiledInstruction
func FindInnerInstructionsFromParsedMeta ¶ added in v0.8.9
func FindInnerInstructionsFromParsedMeta(meta *rpc.ParsedTransactionMeta, index uint64) []*rpc.ParsedInstruction
func GetComputeUnitPriceFromHelius ¶ added in v0.2.2
func GetFeeInfoFromParsedTx ¶ added in v0.8.7
func GetFeeInfoFromParsedTx(meta *rpc.ParsedTransactionMeta, parsedTransaction *rpc.ParsedTransaction) (*type_.FeeInfo, error)
func GetFeeInfoFromTx ¶
func GetFeeInfoFromTx(meta *rpc.TransactionMeta, transaction *solana.Transaction) (*type_.FeeInfo, error)
Types ¶
type Stack ¶ added in v0.4.5
type Stack struct {
// contains filtered or unexported fields
}
Stack 定义栈结构
type TransferInstructionDataType ¶ added in v0.8.9
type TransferInstructionDataType struct { Source solana.PublicKey Destination solana.PublicKey AmountWithDecimals uint64 Authority solana.PublicKey }
func DecodeTransferParsedInstruction ¶ added in v0.8.9
func DecodeTransferParsedInstruction(transferInstruction *rpc.ParsedInstruction) (*TransferInstructionDataType, error)
Click to show internal directories.
Click to hide internal directories.