Pay
Pay
- Endpoint: /pay
- 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.payer | address | [x] | Address of payer |
tx.app | address | [x] | Address of app |
tx.appTxid | string | [x] | TXID from app |
tx.asset | address | [x] | Address of asset |
tx.amount | string | [x] | Amount (with decimals) |
tx.memo | string | [x] | Memo of transaction |
signature | string | [x] | Signature of amount=&app=&appTxid=&asset=&memo=&nonce=&payer= |
- Return Values:
JSON object
| Name | Type | Description |
|---|---|---|
status | bool | Status of request |
tx | object | Transaction |
tx.nonce | number | Nonce of transaction |
tx.from | address | Sender address |
tx.payer | address | Payer address |
tx.txid | string | TXID |
tx.appTxid | string | TXID |
tx.app | address | Addres of app |
tx.asset | address | Address of asset |
tx.amount | string | Amount (with decimals) |
tx.memo | string | Memo of transaction |
tx.type | PAY | Type of transaction |