Operation: Transfer

After minting a token, transfer it.

By inscribing a transfer event you enable the transfer of ZKC-20 tokens between Ethereum addresses.

Event Format

The transfer event adheres to the following format:

data:application/json,{"p":"ZKC-20","op":"transfer","tick":"<token_ticker>","to":"<recipient_address>","amt":" "}

Event Parameters

The transfer event includes the following parameters:

NameKeyRequiredDescription

Protocol

p

yes

Set to "ZKC-20" to specify the ZKC-20 token standard.

Operation

op

yes

Set to "transfer" to indicate a transfer event.

Ticker

tick

yes

The ticker symbol of the ZKC-20 token being transferred. case insensitive.

Recipient

to

yes

The Ethereum address of the recipient.

Amount

amt

yes

The number of ZKC-20 tokens being transferred.

Usage Example

Here's an example of a transfer event for an ZKC-20 token:

data:application/json,{"p":"ZKC-20","op":"transfer","tick":"tom","to":"<recipient_address>","amt":"500" }

Inscribe the transfer event as a transaction calldata and submit it to the sender's Ethereum address.

data:application/json,{"p":"ZKC-20","op":"transfer","tick":"","to":"<recipient_address>","amt":""}

Replace with the ticker symbol of the ZKC-20 token, <recipient_address> with the Ethereum address of the recipient, and with the number of ZKC-20 tokens being transferred.

once the sender inscribes the transfer event, the transfer/split is considered valid

Last updated