Whitelist
How It Works
Use Cases
Key Points
Common Scenarios
KYC/AML Compliance
Phased Access
Geographic Restrictions
Important Notes
post/v1/tokens/manage_whitelist
Body
Payload for whitelist operations
actionstring · enumRequiredPossible values:
The action of the transaction: Add or Remove from whitelist.
addressstringRequiredExample:
The address to be added to or removed from whitelist.
0x9E1E9688A44D058fF181Ed64ddFAFbBE5CC742Abchain_idinteger · int64RequiredExample:
The chain id of the transaction.
1212101nonceinteger · int64RequiredExample:
The nonce of the transaction.
0tokenstringRequiredExample:
The token address of the transaction.
0x6ADE9688A44D058fF181Ed64ddFAFbBE5CC742AcResponses
200Success
application/json
Represents a transaction hash returned by the API.
hashstringRequiredExample:
0xf55f9525be94633b56f954d3252d52b8ef42f5fd5f9491b243708471c15cc40c400
Client error
application/json
404
Resource not found
application/json
408
Request timeout
application/json
422
Business logic error
application/json
500
Internal server error
application/json
post/v1/tokens/manage_whitelist
POST /v1/tokens/manage_whitelist HTTP/1.1
Host: api.testnet.1money.network
Content-Type: application/json
Accept: */*
Content-Length: 343
{
"action": "Add",
"address": "0x9E1E9688A44D058fF181Ed64ddFAFbBE5CC742Ab",
"chain_id": 1212101,
"nonce": 0,
"token": "0x6ADE9688A44D058fF181Ed64ddFAFbBE5CC742Ac",
"signature": {
"r": "72956732934625920503481762689501378577921804342307439094906376029324416116949",
"s": "29902520081700531224291681396692026253288382272435451874524203378285409371412",
"v": "1"
}
}{
"hash": "0xf55f9525be94633b56f954d3252d52b8ef42f5fd5f9491b243708471c15cc40c"
}Last updated