On this page

Deployment Configuration

Get the current Sepolia Pool, contract addresses and network parameters.

Get configuration#

GET /api/queue/config takes no parameters. It returns the contracts and routes used by the public Sepolia service. Fetch it when your application starts instead of copying addresses into source code.

GET/api/queue/config
Sepolia
Request
Terminal
curl --include --request GET \
  'https://api.fuyu.xyz/api/queue/config' \
  --header 'Accept: application/json'
Response
Run the request to see its response.

Live read requests run through the docs server. Copied examples call api.fuyu.xyz directly. No API key required.

Response fields#

FieldMeaning
chainId11155111 for Sepolia
poolAddress / domainPool address and the domain used by its proofs
deploymentBlock / deploymentBlockHashBlock where this Pool was deployed
poolRuntimeCodeHashHash of the deployed Pool bytecode
accountRegistry / receiveDirectoryAccount and receiving contracts, including addresses and ABIs
assetsAsset addresses, decimals and token definitions
routesAction routes offered by this deployment
relayFeesCurrent relay fee schedule
queueEndpoint paths and proof-artifact locations

Read wallet connection parameters#

GET /api/queue/networks returns supportedChains. The public service supports Sepolia only. Its entry includes chainId, chainIdHex, nativeCurrency, explorerUrl and walletRpcUrl.

Use walletRpcUrl when connecting an Ethereum wallet. The separate rpcUrl is used for chain reads. Check that the wallet is on Sepolia before asking the user to sign a transaction.

GET/api/queue/networks
Sepolia
Request
Terminal
curl --include --request GET \
  'https://api.fuyu.xyz/api/queue/networks' \
  --header 'Accept: application/json'
Response
Run the request to see its response.

Live read requests run through the docs server. Copied examples call api.fuyu.xyz directly. No API key required.

Keep a payment on one deployment#

Store the chain ID and Pool address alongside an operation's status identifier. If configuration changes while a payment is pending, check that original operation before preparing another one.

Contract addresses, proof files and action routes belong to the same deployment. Do not combine values from an older response with the current configuration.