2

Example: If we are doing 10DOT Transfer from one address to another address, Can we attach some description like "test transaction" or "investment"?

New contributor
Bhagath Reddy is a new contributor to this site. Take care in asking for clarification, commenting, and answering. Check out our Code of Conduct.

1 Answer 1

4

The balances::transfer did not provide a field for this.

But I think you could do this with utility::batch.

Call data:

0x1a000800012c54697020666f72204761760500006af08f6bb841825b168ddf79837e70d88d75e1c5b290b74fa97cedfd668dd22c0700e40b5402

You could decode the call data here.

Here is the README.

In this case, batch combines the two calls into one.

What the system::remark does is left a message on the chain.

3
  • Can you provide code reference or docs or in-depth docs to understand? 2 days ago
  • I updated the answer. 2 days ago
  • Thanks for your quick response yesterday

Your Answer

Bhagath Reddy is a new contributor. Be nice, and check out our Code of Conduct.

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.