post

/eth/erc20/{token}/{wallet}/mint

Executes the ERC20 method “mint” on compatible contracts to generate an amount of tokens to the current wallet or given address

Authorization

apiKey - tangany-subscription
apiKey - tangany-client-id
apiKey - tangany-client-secret

Request Parameters

2 Path Parameters
3 Headers

Request Body

Fails if executed from a wallet thats address is not the ERC20 contract “minter”. Tokens are mined to the wallet’s address if the optional “to” parameter is omitted from the call.

1 Example
Schema
object
amount
string

ERC20 token amount to generate

3 validations + required
to
string

A hexadecimal Ethereum address. Examples: 0xde0a21566919d193e6a28a9ac8534144cb697eee

3 validations

Responses

Server response for a successful Ethereum transaction status query

1 Example
Schema
object
isError
boolean

true when Ethereum declines to mine the transaction. This can happen when the transaction is fueled with insufficient amount of gas or some other error occurs during contract execution. false means the transaction executed successfully

1 validation + required
blockNr
number or null

Block number for a given Ethereum transaction. Equals null when the given transaction hash was not yet included in any block to be mined by the Ethereum Virtual Machine. Examples: 7238290

1 validation + required

Send a Test Request

Send requests directly from the browser (CORS must be enabled)
Path Params
2 path params not set
token
wallet
$$.env
3 variables not set
tangany-subscription
tangany-client-id
tangany-client-secret