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).

For example:

// transfer; send 0eth from self to 0x0000000000000000000000000000000000000000
{
  "p": "ierc-20",
  "op": "transfer", //transfer operation
  "tick": "ethi",
  "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"
    }
  ]
}

Last updated