Download OpenAPI specification:
API for the Data Layer 1 (DL1) node handling data storage and retrieval
Submit a signed data update for processing. The update can be one of several types including liquidity pool, staking, withdrawal, swap or governance updates.
Signed data update
LiquidityPoolUpdate (object) or StakingUpdate (object) or WithdrawalUpdate (object) or SwapUpdate (object) or RewardAllocationVoteUpdate (object) | |
Array of objects (Proof) Cryptographic proofs validating the update |
{- "value": {
- "source": "string",
- "tokenAAllowSpend": "string",
- "tokenBAllowSpend": "string",
- "tokenAId": "string",
- "tokenBId": "string",
- "tokenAAmount": 0,
- "tokenBAmount": 0,
- "maxValidGsEpochProgress": 0
}, - "proofs": [
- {
- "id": "string",
- "signature": "string"
}
]
}
{- "hash": "string"
}