cryptomation
cryptomation
get you many method for getting any crypto data for any cases.
š We support: etherium
, polygon
, near
, binance smart chain
, tron
and others networks.
Example curl request for getting information:
curl https://api.cryptomation.com/wallet/0xdec0de7e6ed3ee7bb3a2c0baae7827d101d1ec20/balance?apikey=API_KEY&network=polygon
copy
And system return example answer balance in WEI:
{ "result": "9299552323754576290", "status": "1", "message": "OK" }
copy
If yout want to result decimal format (from WEI), please, set format to decimal, then:
curl https://api.cryptomation.com/wallet/0xdec0de7e6ed3ee7bb3a2c0baae7827d101d1ec20/balance?apikey=API_KEY&network=polygon&format=gwai
copy
It request return:
{ "result": "9.29955232375457629", "status": "1", "message": "OK" }
copy
Example curl request for getting information about last transaction:
curl https://api.cryptomation.com/wallet/0xdec0de7e6ed3ee7bb3a2c0baae7827d101d1ec20/transactions?apikey=API_KEY&network=polygon
copy
And system return example answer balance in WEI:
{ "status": "OK", "result": [ { "blockNumber": "24741197", "timeStamp": "1644422471", "hash": "0x43d539e31a8671b98e4867d613234c2e9fadeece989939d46428c8ecfbb2101f", "nonce": "0", "blockHash": "0x928706113f3e304c3beae06d1cfd13cb26a0bfb80d0a4ae795d2971752f33811", "transactionIndex": "46", "from": "0xdec0de7e6ed3ee7bb3a2c0baae7827d101d1ec20", "to": "0x25cbd58702f9976d1be6af14e33a5875176762d2", "value": "1000000000000000000", "gas": "21000", "gasPrice": "29214713675", "isError": "0", "txreceipt_status": "1", "input": "0x", "contractAddress": "", "cumulativeGasUsed": "5892989", "gasUsed": "21000", "confirmations": "5311365" } ] }
copy
Much more info about our API method you could found on our docs!
Our api help your project gain easy access to a sea of crypto data.
If you want to try our Universal API, please enter your email or login from Google Gmail: