Query the address is the Cregis Address.
POST /api/v1/address/inner
Check if the address belongs to the corresponding project. After create the address deposit, you can validate the returned address information to prevent the address from being tampered with.
Name | Type | Required | Description |
---|---|---|---|
pid | integer(int64) | true | Project ID |
address | string | true | Address |
chain_id | string | true | Chain ID |
nonce | string | true | 6-character random string |
timestamp | integer(int64) | true | Timestamp |
sign | string | true | Signature |
Name | Type | Description |
---|---|---|
code | string | Response code |
msg | string | Response message |
data | object | Response data object |
data
ObjectName | Type | Description |
---|---|---|
result | boolean | true: Address is within the project |
Query the address is the Cregis Address.
POST /api/v1/address/inner
Check if the address belongs to the corresponding project. After create the address deposit, you can validate the returned address information to prevent the address from being tampered with.
Name | Type | Required | Description |
---|---|---|---|
pid | integer(int64) | true | Project ID |
address | string | true | Address |
chain_id | string | true | Chain ID |
nonce | string | true | 6-character random string |
timestamp | integer(int64) | true | Timestamp |
sign | string | true | Signature |
Name | Type | Description |
---|---|---|
code | string | Response code |
msg | string | Response message |
data | object | Response data object |
data
ObjectName | Type | Description |
---|---|---|
result | boolean | true: Address is within the project |