Add an authorized public key for secret decryption to the transaction with its encrypted secret key
@param {String | Uint8List} publicKey Authorized public key (hexadecimal or or binary buffer)
@param {String | Uint8List} encryptedSecretKey Encrypted secret key for the given public key (hexadecimal or binary buffer)
Add a NFT transfer to the transaction
@param {String | Uint8List} to Address of the recipient (hexadecimal or binary buffer)
@param {double} amount Amount of UCO to transfer
@param {String | Uint8List} nftAddress Address of NFT to spend (hexadecimal or binary buffer)
Add a UCO transfer to the transaction
@param {String | Uint8List} to Address of the recipient (hexadecimal or binary buffer)
@param {double} amount Amount of UCO to transfer
Generate the transaction address, keys and signatures
@param {String | Uint8List} seed Transaction chain seed (hexadecimal or binary buffer)
@param {Integer} index Number of transaction on the chain
@param {String} curve Elliptic curve to use for the key generation
@param {String} hashAlgo Hash algorithm to use for the address generation