LINS-20 Document
  • 🏁INTRODUCTION
    • Overview
  • 🐜GET STARTED
    • How To Mint
  • 💻DEVELOPERS
    • Mint
    • Deploy
    • Transfer
    • Proxy Transfer
    • Freeze sell
    • More
Powered by GitBook
On this page
  1. DEVELOPERS

Transfer

The transfer is the same as the above event, sent to address 0, and then you can choose to send to an unlimited number of recipients, it only needs one gas. (If the eth limit is not exceeded).

Key
Required
Description

p

yes

protocol name,lins-20

op

yes

transfer

tick

yes

same as deployment.

nonce

yes

unique value, timestamp is recommended.

to

yes

array object, "recv" and "amt", "recv" and "amt" fields, recv is the recipient address, amt is the quantity, the recipient address must start with 0x, and the length is appropriate, otherwise the entire transaction is invalid.

like this:

// transfer; send 0eth from self to 0x0000000000000000000000000000000000000000
{
  "p": "lins-20",
  "op": "transfer", //transfer operation
  "tick": "lins",
  "nonce": "2",
  "to": [ //batch transfer, the sum of amt must equal the previous amt param
    {
      "recv": "0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48", //receiver address
      "amt": "50" //receiver amount
    },
    {
      "recv": "0x0000000000085d4780B73119b644AE5ecd22b376",
      "amt": "50"
    }
  ]
}
PreviousDeployNextProxy Transfer
💻