# Functions
AccountFromPrivateKey derives the remaining Account fields from only a private key.
AddressFromProgram returns escrow account address derived from TEAL bytecode.
AppendMultisigToLogicSig adds a new signature to multisigned LogicSig.
AppendMultisigTransaction appends the signature corresponding to the given private key, returning an encoded signed multisig transaction including the signature.
ComputeGroupID returns group ID for a group of transactions.
GenerateAccount generates a random Account.
GenerateAddressFromSK take a secret key and returns the corresponding Address.
GetApplicationAddress returns the address corresponding to an application's escrow account.
GetTxID returns the txid of a transaction.
HashLightBlockHeader returns the hash of a light block header.
HashStateProofMessage returns the hash of a state proof message.
LogicSigAccountFromLogicSig creates a LogicSigAccount from an existing LogicSig object.
LogicSigAddress returns the contract (escrow) address for a LogicSig.
MakeLogicSigAccountDelegated creates a new delegated LogicSigAccount.
MakeLogicSigAccountDelegatedMsig creates a new delegated LogicSigAccount.
MakeLogicSigAccountEscrowChecked creates a new escrow LogicSigAccount.
MergeMultisigTransactions merges the given (partially) signed multisig transactions, and returns an encoded signed multisig transaction with the component signatures.
MultisigAccountFromSig is a convenience method that creates an account from a sig in a signed tx.
MultisigAccountWithParams creates a MultisigAccount with the given parameters.
RandomBytes fills the passed slice with randomness, and panics if it is unable to do so.
SignBid accepts a private key and a bid, and returns the signature of the bid under that key.
SignBytes signs the bytes and returns the signature.
SignLogicSigAccountTransaction signs a transaction with a LogicSigAccount.
SignLogicSigTransaction takes LogicSig object and a transaction and returns the bytes of a signed transaction ready to be broadcasted to the network Note, LogicSig actually can be attached to any transaction and it is a program's responsibility to approve/decline the transaction
This function supports signing transactions with a sender that differs from the LogicSig's address, EXCEPT IF the LogicSig is delegated to a non-multisig account.
SignMultisigTransaction signs the given transaction, and multisig preimage, with the private key, returning the bytes of a signed transaction with the multisig field partially populated, ready to be passed to other multisig signers to sign or broadcast.
SignTransaction accepts a private key and a transaction, and returns the bytes of a signed transaction ready to be broadcasted to the network If the SK's corresponding address is different than the txn sender's, the SK's corresponding address will be assigned as AuthAddr.
TealSign creates a signature compatible with ed25519verify opcode from contract address.
TealSignFromProgram creates a signature compatible with ed25519verify opcode from raw program bytes.
TealVerify verifies signatures generated by TealSign and TealSignFromProgram.
TransactionID is the unique identifier for a Transaction in progress.
TransactionIDString is a base32 representation of a TransactionID.
VerifyBytes verifies that the signature is valid.
VerifyLogicSig verifies that a LogicSig contains a valid program and, if a delegated signature is present, that the signature is valid.
VerifyMultisig verifies an assembled MultisigSig
addr is the address of the Multisig account message is the bytes there were signed msig is the Multisig signature to verify.
# Variables
LightBlockHeaderPrefix is prepended to the canonical msgpack encoded light block header when computing its vector commitment leaf.
StateProofMessagePrefix is prepended to the canonical msgpack encoded state proof message when computing its hash.
# Structs
Account holds both the public and private information associated with an Algorand address.
LogicSigAccount represents an account that can sign with a LogicSig program.
MultisigAccount is a convenience type for holding multisig preimage data.