Skip to main content
POST
cURL

Authorizations

x-api-key
string
header
required

Body

application/json
from
string
required

Address of the sender (must be a valid Ethereum address)

Example:

"0x1234567890123456789012345678901234567890"

to
string
required

Destination address (the target smart contract which enforces the policy)

Example:

"0x1234567890123456789012345678901234567890"

data
string
required

Hex-encoded calldata relevant for the contract function call e.g., amount to lend, recipient address, etc.

Example:

"0x"

msg_value
string
required

Amount of ETH (in wei) to send with the transaction

Example:

"0"

chain_id
integer<uint64>

Optional chain ID for the target blockchain. If not provided, defaults to ethereum mainnet (1)

Example:

1

Response

Successfully processed task

is_compliant
boolean

Indicates whether the transaction meets the policy requirements

Example:

true

signers
string[]

The addresses that signed off on the users compliance status

signature
string[]

A ECDSA Signature from the Predicate attestation server

expiry_block
integer<uint64>

Timestamp after which this response is no longer valid (prev block number)

task_id
string<uuid>

Unique identifier for the task

Example:

"e4732bbe-aa8f-44fb-8c09-c73bdc31eeae"