POST
/
v1
/
proofs
curl --request POST \
  --url https://api.axiom.xyz/v1/proofs \
  --header 'Axiom-API-Key: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '{
  "input": [
    "0x010A00000000000000"
  ]
}'
{
  "id": "<string>"
}

Authorizations

Axiom-API-Key
string
header
required

Query Parameters

program_id
string
required
proof_type
string
default:evm

The type of proof to generate. must be one of: evm (more to come)

Body

application/json · Input Data · object

The input data must be a json with key input, and the value is an array of hex strings Each hex string is either: - Hex string of bytes, which is prefixed with 0x01 - Hex string of native field elements (represented as u32, little endian), prefixed with 0x02

Response

200
application/json

Successful Response

The response is of type object.