API Transfer
μμ² μ£Όμ
POST http://{url}/transfer
Request
Parameter | Type | Description |
---|---|---|
toAddress | string | Tokenμ μ μ‘λ°μ μ§κ° μ£Όμ |
amount | number or string | μ μ‘ν ν ν° μλ |
- Example{"to": "0x1a2s3d...","amount": "100"}
Response
μ±κ³΅μ
200
μν μ½λμ νΈλμμ κ²°κ³Όκ°μ λ°ν ν©λλ€. λ°νλ κ°μμresult.hash
κ°μΌλ‘ ν΄λΉ νΈλμμ ν΄μ κ°μ μ μ μμ΅λλ€.μ€ν¨μ
417
μν μ½λμ error μ½λλ₯Ό λ°ν ν©λλ€.Success Example
νΈλμμ μ±κ³΅ μ¬λΆμ κ΄κ³μμ΄ μμ²ν κ°μ λν νΈλμμ κ°μ λ°ν ν©λλ€.{"result": {"type": 2,"chainId": 80001,"nonce": 92,"maxPriorityFeePerGas": {"type": "BigNumber","hex": "0x0760a068ab"},"maxFeePerGas": {"type": "BigNumber","hex": "0x0760a068ab"},"gasPrice": null,"gasLimit": {"type": "BigNumber","hex": "0x0493e0"},"to": "0xCeca5dE7bbB16C951D6c8F7A70ac7caA9E8d34af","value": {"type": "BigNumber","hex": "0x00"},"data": "0xa9059cbb0000000000000000000000006053858641cc482ba3cf07a4ce94c6cd4af564730000000000000000000000000000000000000000000000000de0b6b3a7640000","accessList": [],"hash": "0xd943288eb75a086376850179dbcb3e6af644cf70b5e1373308009bd5463a5bbd","v": 0,"r": "0x3b86bb8a1941f8b0d2b9e2fe3958cbdc002f99baa53dc96420e8ec119549679b","s": "0x77ad10bc8e45b45491522c430f68d749d66610f2b11c19831d12753b0df0bd18","from": "0x3af0A1d2c053ca2e6072015EdB44Bc57db63a9c6","confirmations": 0}}