plugins.aea-ledger-solana.aea_ledger_solana.transaction_instruction
This module contains the TransactionInstruction of the solana module.
TransactionInstruction Objects
class TransactionInstruction(NamedTuple)
Transaction Instruction class.
keys
Public keys to include in this transaction Boolean represents whether this pubkey needs to sign the transaction.
program_id
Program Id to execute.
data
Program input.
from_solders
@classmethod
def from_solders(cls,
ixn: instruction.Instruction) -> "TransactionInstruction"
Convert from a solders instruction.
:param ixn: The solders instruction.
:param The solana-py instruction.
:return: The solders instruction.
to_solders
def to_solders() -> instruction.Instruction
Convert to a solders instruction.
Returns:
The solders instruction.