Transfer an ERC20 token
POST/admin/tokens/transfer
Transfers an ERC20 token - The "from" address must be owned by project's backend account
Request
Query Parameters
apiKey string
(Required) You Public API key
Example: {{publicKey}}
Header Parameters
API-SECRET string
(Required) You Secret API key
Example: {{secretKey}}
Accept string
Example: application/json
- application/json
 
Body
tokenAddress string
amount string
from string
to string
Responses
- 201
 - 400
 - 401
 - 403
 
Created
- application/json
 
- Schema
 - Example (from schema)
 - Example
 
Schema
object
{}
{
  "job": {
    "status": "pending",
    "_id": "62b1806f8c26160014941777",
    "name": "adminTransfer",
    "data": {
      "tokenAddress": "0xaf03155DF641f77917803C634E9e4d808ea42ae4",
      "bridgeType": "home",
      "accountAddress": "0xbC3bA1ae0a4Cf6269F79d0D30767C60cB58D7Ff2",
      "amount": "10000000000000000000",
      "wallet": "0xBE06B7DF117dc1D6cD63aa133d6f4dfa614ed87C",
      "to": "0x3720D50beba9FDcbAf393bd59Bed91bEdd430F9F"
    },
    "createdAt": "2022-06-21T08:25:19.066Z",
    "updatedAt": "2022-06-21T08:25:19.066Z",
    "__v": 0
  }
}
Bad Request
- text/plain
 
- Schema
 
Schema
string
Unauthorized
- text/plain
 
- Schema
 
Schema
string
Forbidden
- text/plain
 
- Schema
 
Schema
string
Loading...