approve
POST
http://localhost:3000/api/public/contracts/ERC20EventCurrency/1/approveApprove
Maybe some whitelisting of an token to be used for tap tp pay?
Request
Header Params
Content-Type
string
required
Example:
application/json
User-Agent
string
required
Example:
insomnia/9.3.3
apiToken
string
required
Example:
eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6ImNtMTlpNGhpdzAwMDlvMXZqb2thaWV0Zm4iLCJhcHBJZCI6ImNtMTlpNDh6dDAwMDdvMXZqeG5xanhoa20iLCJpYXQiOjE3MjY3NjMwMzB9.oLN0-FWN14NTj7uQ0HXgZzZ3zyqPdsv0Akr3AVc0b5I
Body Params application/json
spender
string
required
amount
integer
required
Example
{
"spender": "string",
"amount": 0
}
Request samples
Responses
Success(200)
HTTP Code: 200
Content Type : JSONapplication/json
Data Schema
object {0}
Example
{}
Modified at 16 days ago