Skip to content

Commit 75be253

Browse files
kzdydxgaonip
andauthored
update compliance (#431)
Co-authored-by: gaonip <[email protected]>
1 parent 7cc95b8 commit 75be253

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

docs/pages/interaction/integration/integration-compliance.mdx

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -22,14 +22,10 @@ curl https://api.dydx.exchange/v4/geo
2222
{"geo":{"country":"JP","region":"Tokyo","regionCode":"13","city":"Tokyo","timezone":"Asia/Tokyo","ll":[35.6164,139.7425],"metro":null,"blocked":false}
2323
```
2424

25-
The client should call the indexer’s`/v4/compliance/geoblock` endpoint
26-
(or `/v4/compliance/geoblock-keplr`, if the user’s connected wallet is Keplr)
27-
upon app launching and when the user connects to a new wallet.
28-
29-
This will update the user's compliance status based on the requesting IP. To authenticate the user, sign a message with the user's private key, and send the signed message as part of the payload. See [sample](https://github.com/dydxprotocol/v4-web/blob/main/src/bonsai/rest/compliance.ts#L158) implementation.
25+
This will show the user's compliance status based on the requesting IP.
3026

3127
### `/v4/screen`
32-
The client can query the compliant status of the user by calling the indexer’s `/v4/screen` endpoint:
28+
The client can additionally query the compliant status of the user by calling the indexer’s `/v4/screen` endpoint:
3329

3430
```bash
3531
curl https://indexer.v4testnet.dydx.exchange/v4/compliance/screen/dydx14y0wd820uzr5rd6xu85q5475rg5sk03fsuke3m

0 commit comments

Comments
 (0)