signTransaction takes an object with either payment or key registration fields and a secret key and returns a signed blob.
Payment transaction fields: from, to, amount, fee, firstValid, lastValid, genesisHash, note(optional), GenesisID(optional), closeRemainderTo(optional)
Key registration fields: fee, firstValid, lastValid, voteKey, selectionKey, voteFirst, voteLast, voteKeyDilution, genesisHash, note(optional), GenesisID(optional)
If flatFee is not set and the final calculated fee is lower than the protocol minimum fee, the fee will be increased to match the minimum.
object with either payment or key registration fields
Algorand Secret Key
object contains the binary signed transaction and its txID
Generated using TypeDoc
signTransaction takes an object with either payment or key registration fields and a secret key and returns a signed blob.
Payment transaction fields: from, to, amount, fee, firstValid, lastValid, genesisHash, note(optional), GenesisID(optional), closeRemainderTo(optional)
Key registration fields: fee, firstValid, lastValid, voteKey, selectionKey, voteFirst, voteLast, voteKeyDilution, genesisHash, note(optional), GenesisID(optional)
If flatFee is not set and the final calculated fee is lower than the protocol minimum fee, the fee will be increased to match the minimum.