Prepare ERC-8226 RAMS principal compliance revocation
Prepare ERC-8226 RAMS principal compliance revocation. Revoke an active principal compliance record. The transaction must be signed by the ComplianceProvider owner.
5000 (raw units)
price
1
calls / 30d
1
unique payers
2026-09-03
updated
Provider
api.sandbox.brickken.com · discovered, not yet claimed by its owner
Payment (x402 accepts[])
[
{
"scheme": "exact",
"network": "eip155:84532",
"payTo": "0x6b0173489007dE9E2e619eccd98E8fa9c610849a",
"asset": "0x036CbD53842c5426634e7929541eC2318f3dCF7e",
"amount": "5000",
"maxTimeoutSeconds": 300
}
]Output schema
{
"bazaar": {
"info": {
"input": {
"body": {
"chainId": "84532",
"executionMode": "client-signed",
"principal": "0xaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
"reason": "COMPLIANT",
"signerAddress": "0xaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"
},
"bodyType": "json",
"method": "POST",
"type": "http"
},
"output": {
"example": {
"executionMode": "client-signed",
"info": {
"contractAddress": "0xaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
"mode": "direct"
},
"transactions": {
"data": "0xaaaaaaaa",
"to": "0xaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
"value": "0x0"
},
"txId": "0xaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"
},
"type": "json"
}
},
"schema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"input": {
"additionalProperties": false,
"properties": {
"body": {
"additionalProperties": true,
"properties": {
"chainId": {
"default": "84532",
"description": "RAMS is deployed on Base Sepolia (chain ID 84532) and Ethereum Sepolia (chain ID 11155111). Pass chainId explicitly to target the other one.",
"examples": [
"84532"
],
"type": "string"
},
"complianceProviderAddress": {
"description": "Optional ComplianceProvider contract override.",
"pattern": "^0x[a-fA-F0-9]{40}$",
"type": "string"
},
"email": {
"description": "Alias for ownerEmail where supported.",
"format": "email",
"type": "string"
},
"executionMode": {
"default": "client-signed",
"description": "RAMS defaults to client-signed execution and also supports client-broadcast. Sign with the wallet that holds the required on-chain role. Mandate lifecycle operations may additionally use brickken-relayed execution with a principal EIP-712 signature and deadline.",
"enum": [
"client-signed",
"client-broadcast"
],
"type": "string"
},
"gasLimit": {
"description": "Optional explicit gas limit.",
"oneOf": [
{
"type": "string"
},
{
"type": "number"
}
]
},
"nonce": {
"description": "Optional explicit nonce when managing nonces manually.",
"type": "number"
},
"ownerEmail": {
"description": "Optional owner attribution email.",
"format": "email",
"type": "string"
},
"principal": {
"description": "Principal whose compliance record is revoked.",
"pattern": "^0x[a-fA-F0-9]{40}$",
"type": "string"
},
"reason": {
"oneOf": [
{
"enum": [
"COMPLIANT",
"KYC_EXPIRED",
"AML_FLAG",
"NOT_ACCREDITED",
"NOT_QUALIFIED",
"JURISDICTION_BLOCKED",
"IDENTITY_NOT_FOUND",
"ATTESTATION_REVOKED",
"OTHER"
],
"type": "string"
},
{
"maximum": 8,
"minimum": 0,
"type": "integer"
}
]
},
"signerAddress": {
"description": "Wallet that will sign the prepared transaction. Omit only for brickken-relayed lifecycle calls carrying a principal EIP-712 signature.",
"pattern": "^0x[a-fA-F0-9]{40}$",
"type": "string"
}
},
"required": [
"chainId",
"executionMode",
"signerAddress",
"principal",
"reason"
],
"type": "object"
},
"bodyType": {
"enum": [
"json",
"form-data",
"text"
],
"type": "string"
},
"method": {
"enum": [
"POST",
"PUT",
"PATCH"
],
"type": "string"
},
"type": {
"const": "http",
"type": "string"
}
},
"required": [
"type",
"method",
"bodyType",
"body"
],
"type": "object"
},
"output": {
"properties": {
"example": {
"type": "object"
},
"type": {
"type": "string"
}
},
"required": [
"type"
],
"type": "object"
}
},
"required": [
"input"
],
"type": "object"
}
}
}Use it
curl
curl "https://api.sandbox.brickken.com/x402/rams/revoke-principal" # -> 402 Payment Required, accepts[] lists how to pay # retry with a PAYMENT-SIGNATURE (or PAYMENT header) once paid
JavaScript
const res = await fetch("https://api.sandbox.brickken.com/x402/rams/revoke-principal");
if (res.status === 402) {
const { accepts } = await res.json();
// pay one of accepts[] via an x402 client, then retry with the payment header
}Python
import httpx
res = httpx.get("https://api.sandbox.brickken.com/x402/rams/revoke-principal")
if res.status_code == 402:
accepts = res.json()["accepts"]
# pay one of accepts[] via an x402 client, then retry with the payment headerMachine-readable
Everything on this page is also available as clean JSON at /resources/13568.json, and this resource appears in /discovery/resources and /discovery/search.