Request Body
Available chain connections
| Destination Chain ID | Origin Chain ID |
|---|---|
| 300 | 11155111 |
| 4801 | 4801, 84532, 11155111 |
| 421614 | 11155111 |
| 11155111 | 4801, 11155111 |
| 11155420 | 11155111 |
| STARKNET | 1 |
| SN_SEPOLIA | 11155111, 11155420 |
destinationChainId
- Description: The ID of the chain that the user wants the data proved on.
- Type: string
- Available values:
- refer to the Available chain connections table above
fee
- Description: The amount of fee that can be collected by our backend. The system collects only the needed amount.
- Type: string
Note: Goerli is free, provide 0 as fee.
data
- Description: This field describes all the properties the user wants to be proved. It accepts nested objects following a specific pattern
- Type: object
- Data Structure:
-
[chain id]
- Description: ID of the origin chain from which the data to prove is taken.
- Type: string
- Available values:
- refer to the Available chain connections table above
-
[block:number or timestamp:number]
- Description: The number with block or timestamp prefix from which the user requests the properties to prove. If timestamp prefix is provided, the system will find exact or the block with the closest timestamp to the left. Note: timestamp is only available for
STARKNET,SN_GOERLIandSN_SEPOLIAdestinations. - Type: string
- Description: The number with block or timestamp prefix from which the user requests the properties to prove. If timestamp prefix is provided, the system will find exact or the block with the closest timestamp to the left. Note: timestamp is only available for
-
[header property]
- Description: Properties of the requested header to be saved in the FactsRegistry contract. Note: currently, we save all the values regardless of what is provided in this field.
- Type: string
- Available values:
PARENT_HASHUNCLES_HASHCOINBASEPROPOSERSTATE_ROOTTRANSACTIONS_ROOTRECEIPTS_ROOTLOGS_BLOOMDIFFICULTYBLOCK_NUMBERGAS_LIMITGAS_USEDTIMESTAMPEXTRA_DATAMIX_HASHNONCEBASE_FEE_PER_GASWITHDRAWALS_ROOTBLOB_GAS_USEDEXCESS_BLOB_GASPARENT_BEACON_BLOCK_ROOT
-
[address or ENS name]
- Description: Address of the account for which the user requests the properties to prove, must be the address of the account on the origin chain.
- Type: string
-
[account property]
- Description: Properties of the requested account to be saved in the FactsRegistry contract. Note: currently, we save all the values regardless of what is provided in this field.
- Type: string
- Available values:
BALANCENONCECODE_HASHSTORAGE_ROOT
-
[storage slot]
- Description: Storage slot of the requested account to be saved in the FactsRegistry contract. To find storage slots, you can use our BETA Storage Slot Explorer, which can sometimes break unexpectedly.
- Type: string
webhook
- Description: The webhook to send the response to.
- Type: object
- Data Structure:
Example Request Body
Authorizations
Body
application/json
Response
Default Response

