Remark
remark()
remark()
Creates a Remark
builder class instance, which provides methods to build transactions for system pallet remark extrinsics. It expects three parameters:
api
: the trnApi to use for interaction.signer
: the signer to use for signing transactions.walletAddress
: the wallet address to use for interaction. Note: It should be the EOA address for the signer, not the FuturePass address.
Example:
The remark
method allows developers to send a message
in a remark extrinsic.
message()
message()
Sends a message in a remark extrinsic. It expects one parameter.
message
: the message to include in the remark.
Example:
Last updated