Skip to main content
POST
/
v2
/
kytAttestation
Generate KYT compliance attestation
curl --request POST \
  --url https://api.example.com/v2/kytAttestation \
  --header 'Content-Type: application/json' \
  --header 'x-api-key: <api-key>' \
  --data '
{
  "to": "0x0000000000000000000000000000000000000123",
  "from": "0x0000000000000000000000000000000000000456",
  "chain": "base"
}
'
{
  "attestation": {
    "uuid": "550e8400-e29b-41d4-a716-446655440000",
    "expiration": 1696640400,
    "attester": "0xf39Fd6e51aad88F6F4ce6aB8827279cffFb92266",
    "signature": "0x44fdc7e4abb2b91960836b6a6833f59e530248fd4a2cdca865eea12b99dd5f62464523e528e582f0dda749ebb32f2d00d525d4c81000df70655cf54dfd2335c61b"
  }
}

Authorizations

x-api-key
string
header
required

API key in format: pxl_<public_id>_

Body

application/json
to
string
required

Destination address

Example:

"0x0000000000000000000000000000000000000123"

from
string
required

Source address

Example:

"0x0000000000000000000000000000000000000456"

chain
string
required

Chain identifier

Example:

"base"

Response

KYT compliance attestation

attestation
object
required

KYT compliance attestation