Built-in functions and operations in Arkade Script
signature
: The signature to verifypubkey
: The public key to verify againstbool
: True if the signature is valid, false otherwisepubkeys
: Array of public keyssignatures
: Array of signaturesbool
: True if all signatures are valid, false otherwisesignature
: The signature to verifypubkey
: The public key to verify againstmessage
: The message that was signedbool
: True if the signature is valid, false otherwisedata
: The data to hashbytes32
: The SHA-256 hashdata
: The data to hashbytes20
: The RIPEMD-160 hashdata
: The data to hashbytes20
: The Hash160 resultdata
: The data to hashbytes32
: The double SHA-256 hashlocktime
: The minimum required locktimebool
: True if the transaction’s locktime is greater than or equal to the specified locktimesequence
: The minimum required sequencebool
: True if the input’s sequence is greater than or equal to the specified sequencevalue
: The integer to convertbytes
: The byte representation of the integerbytes
: The byte array to convertint
: The integer valuepubkey
: The public key to create the script forbytes
: The P2PKH scriptredeemScript
: The redeem script to hashbytes
: The P2SH scriptpubkey
: The public key to create the script forbytes
: The P2WPKH scriptwitnessScript
: The witness script to hashbytes
: The P2WSH scriptinternalKey
: The internal key for the Taproot outputscriptTree
(optional): The script tree for the Taproot outputbytes
: The P2TR scriptpubkey
: The public key to tweaktweak
: The value to tweak withpubkey
: The tweaked public keypubkeys
: Array of public keys to aggregatepubkey
: The aggregated public keyarray1
: The first arrayarray2
: The second arraycondition
: The condition to checkmessage
(optional): Error message if the condition failsa
: First valueb
: Second valuea
: First valueb
: Second valuesignature
: The signature to verifypubkey
: The public key to verify againstmessage
: The message that was signedleafHash
: The leaf hash for the Taproot script pathbool
: True if the signature is valid, false otherwisehashes
: Array of hashes to include in the Merkle treebytes32
: The Merkle root