ERC20 TOKEN
BETA
GetERC20Info
GET
https://api.blocksdk.com/v1/eth/erc20/{erc20-address}
Retrieve the information of the ERC20 token
Path Parameters
erc20-address
string
erc20 token contract address
GetERC20Balance
GET
https://api.blocksdk.com/v1/eth/erc20/{erc20-address}/{eth-address}/balance
Get the erc20 balance of eth-address
Path Parameters
eth-address
string
Ethereum address from which to load balance
erc20-address
string
erc20 token contract address
GetERC20transfer
POST
https://api.blocksdk.com/v1/eth/erc20/{erc20-address}/{eth-address}/transfer
Send erc20 token from eth-address
Path Parameters
erc20-address
string
erc20 token contract address
eth-address
string
Ethereum address from which to load balance
Headers
x-api-key
string
Request Body
amount
string
Amount of ERC20 Token to send
gwei
string
fee to be used for transactions
gas_limit
string
Maximum amount of gas provided for the transaction(default 90000)
password
string
If it is a loaded Ethereum address, this value is required and you can enter the password used to load it.
private_key
string
Ethereum address that has not been loaded requires this value and is issued when generating the Ethereum address.
to
string
eth-address to receive erc20 tokens
Last updated
Was this helpful?