Skip to main content

How to make a transfer with memo

This recipe demonstrates how to create and execute asset transfers that include memo data on the Chromia blockchain. Memos are useful for adding transaction references, payment IDs, or other metadata to transfers.

Prerequisites

  • Node.js
  • FT4 client: npm install @chromia/ft4
  • Postchain client: npm install postchain-client

Demo script

Key Features

This recipe includes examples for:

  • Online method - Using FT4 client transaction builder with memo operations
  • Offline method - Creating and signing GTX transactions with memo data locally
  • Memo integration - Adding custom memo data to transfers for enhanced tracking
  • Transaction building - Combining memo and transfer operations in a single transaction

Learn more