Operation: Transfer

after minting a token, transfer it.

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

Event Format

The transfer event adheres to the following format:

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

Event Parameters

The transfer event includes the following parameters:

Name
Key
Required
Description

Protocol

p

yes

Set to "esc-20" to specify the ESC-20 token standard.

Operation

op

yes

Set to "transfer" to indicate a transfer event.

Ticker

tick

yes

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

Recipient

to

yes

The Ethereum address of the recipient.

Amount

amt

yes

The number of ESC-20 tokens being transferred.

Usage Example

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

data:application/json,{"p":"esc-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":"esc-20","op":"transfer","tick":"<ticker>","to":"<recipient_address>","amt":"<amount>"}

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

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

Last updated