Erc20API
Erc20API
Method
HTTP request
Description
allowanceErc20
open class func allowanceErc20(authorization: String, name: String, inputBody: InputBody, completion: @escaping (_ data: TransactionAPIResponse?, _ error: Error?) -> Void)Example
// The following code samples are still beta. For any issue, please report via http://github.com/OpenAPITools/openapi-generator/issues/new
import OpenAPIClient
let authorization = "authorization_example" // String |
let name = "name_example" // String |
let inputBody = InputBody(to: "to_example", data: "data_example", input: "input_example", value: "value_example", nonce: "nonce_example", gas: "gas_example", gasPrice: "gasPrice_example", chainId: "chainId_example", encoding: "encoding_example", EOA: false, contractAddress: "contractAddress_example", tokenId: "tokenId_example", tokenIds: "tokenIds_example", approved: false, broadcast: false) // InputBody |
Erc20API.allowanceErc20(authorization: authorization, name: name, inputBody: inputBody) { (response, error) in
guard error == nil else {
print(error)
return
}
if (response) {
dump(response)
}
}Parameters
Name
Type
Description
Notes
Return type
Authorization
HTTP request headers
approveErc20
Example
Parameters
Name
Type
Description
Notes
Return type
Authorization
HTTP request headers
balanceOfErc20
Example
Parameters
Name
Type
Description
Notes
Return type
Authorization
HTTP request headers
decimalsErc20
Example
Parameters
Name
Type
Description
Notes
Return type
Authorization
HTTP request headers
nameErc20
Example
Parameters
Name
Type
Description
Notes
Return type
Authorization
HTTP request headers
symbolErc20
Example
Parameters
Name
Type
Description
Notes
Return type
Authorization
HTTP request headers
totalSupplyErc20
Example
Parameters
Name
Type
Description
Notes
Return type
Authorization
HTTP request headers
transferErc20
Example
Parameters
Name
Type
Description
Notes
Return type
Authorization
HTTP request headers
transferFromErc20
Example
Parameters
Name
Type
Description
Notes