Skip to main content
Search

Auto Address Detection

Version: 3.0.0

Method

POST

Url

https://platform.globaltravelrule.com/api/verify/v2/auto_address_vasp_detection

Authentication

No authentication

Path Parameters

No path parameters

Query Parameters

No query parameters

Request Body (Optional)

PropertyTypeRequiredDescription
address
StringYes
address is beneficiary address (in all scenario)
network
StringYes
Network name in short symbol, the reference can check the table.
publicKey
StringYes
public key in Curve25519 algorithm. (No need to do base64 if you're using GTR package)
sourceVaspCode
StringNo
*Required if you're TRSP type user, that you have to bring your member vasp's GTR vaspCode here, that we can recognize who made this travel rule.
tag
StringNo
some of network like XRP required to input address tag (memo)
txId
StringNo
*if the travel rule is after on chain, then the txId is required. the tx id format type can check the table.
vaspCode
StringYes
vaspCode in GTR system, this is unique id for each VASP.

Responses

Status 200

OK

JSON Content

PropertyTypeDescription
data
Object
PropertyTypeDescription
publicKey
String
publicKey from search results, if not found, the results will be the same as input (Wrapper), if the correct entity been found, the publicKey will be changed. *Only supports Curve25519 format key for now, otherwise will be the same as input
requestId
String
requestId that you set
vaspCode
String
vaspCode from search results, if not found, the result will be the same as input (Wrapper), if the correct entity been found, the vaspCode will be changed
verifyMessage
String
verifyStatus
Integer

Status HTTP Status: 200, VerifyStatus: 100000

Success (Always success)

JSON Content

PropertyTypeDescription
data
Object
PropertyTypeDescription
No properties
verifyMessage
String
verifyStatus
Integer

Request Example 1: Address Routing Verify(Pre-transaction situation)

{
"vaspCode": "[VASP Code]",
"publicKey": "[Public Key]",
"address": "[Beneficiary Address: 0x339facb1153e01d1e0d21e378da56d851da25ade]",
"tag": "[TAG-(XRP/XLM/TON), leave blank if not applicable: 164392432]",
"network": "[NETWORK NAME: ETH]",
"txId": null
}

Request Example 2: Address Routing Verify(Post-transaction situation)

{
"vaspCode": "[VASP Code]",
"publicKey": "[Public Key]",
"address": "[*In Post-transaction travel rule, still using Beneficiary Address: 0x339facb1153e01d1e0d21e378da56d851da25ade]",
"tag": "[TAG-(XRP/XLM/TON), leave blank if not applicable: 164392432]",
"network": "[NETWORK NAME: ETH]",
"txId": "F4184fc596403b9d638783cf57adfe4c75c605f6356fbc91338530e9831e9e16"
}

Response Example: Success (Always success)

HTTP Status: 200, VerifyStatus: 100000

{
"data": {
"vaspCode": "[VASP Code]",
"publicKey": "[Public Key]"
},
"verifyMessage": "success",
"verifyStatus": 100000
}