Skip to main content
POST
/
approve
cURL
curl --request POST \
  --url http://localhost:3000/approve \
  --header 'Content-Type: application/json' \
  --data '
{
  "chain": "eth",
  "token": "<string>",
  "amount": "<string>"
}
'
{
  "chain": "<string>",
  "token": "<string>",
  "amount": "<string>",
  "tokenManager": "<string>",
  "txData": {
    "to": "<string>",
    "data": "<string>",
    "from": "<string>"
  }
}

Documentation Index

Fetch the complete documentation index at: https://docs.soulsolidity.com/llms.txt

Use this file to discover all available pages before exploring further.

Body

application/json
chain
enum<string>
required
Available options:
eth,
bnb,
pol,
arb,
lna
token
string
required
amount
string
required

Response

Successful response

chain
string
required
token
string
required
amount
string
required
tokenManager
string
required
txData
object
required