Transfer
Transfer
- Endpoint: /transfer
- Description: Used to transfer ERC20/ERC721 to other
- Method:
POST - Params:
| Name | Type | Require? | Description |
|---|---|---|---|
tx | object | [x] | Raw transaction |
tx.nonce | number | [x] | Nonce of transaction |
tx.to | address | [x] | Address of receiver |
tx.asset | address | [x] | Address of asset |
tx.amountOrTokenId | string | [x] | Amount (with decimals) or tokenId |
tx.memo | string | [x] | Memo of transaction |
signature | string | [x] | Signature of amountOrTokenId=&asset=&memo=&nonce=&to= |
- Return Values:
JSON object
| Name | Type | Description |
|---|---|---|
status | bool | Status of request |
tx | object | Transaction |
tx.nonce | number | Nonce of transaction |
tx.txid | string | TXID |
tx.to | address | Addres of receiver |
tx.asset | address | Address of asset |
tx.amountOrTokenId | string | Amount (with decimals) or tokenId |
tx.memo | string | Memo of transaction |
tx.type | TRANSFER | Type of transaction |