API Reference
Submit Bundle
Submits a signed order bundle containing cross-chain token transfers and executions. It verifies the signatures, checks balances, and emits events for further processing.
POST
/
bundles
curl --request POST \
--url https://orchestrator.rhinestone.dev/bundles \
--header 'Content-Type: application/json' \
--header 'x-api-key: <x-api-key>' \
--data '{
"bundles": [
{
"signedOrderBundle": {
"sponsor": "<string>",
"nonce": "<string>",
"expires": "<string>",
"segments": [
"<any>"
],
"targetSignature": "<string>",
"originSignatures": [
"<string>"
]
},
"initCode": "<string>",
"userOp": {
"sender": "<string>",
"nonce": "<string>",
"initCode": "<string>",
"callData": "<string>",
"accountGasLimits": "<string>",
"preVerificationGas": "<string>",
"gasFees": "<string>",
"paymasterAndData": "<string>",
"signature": "<string>"
}
}
]
}'
{
"bundleResults": [
{
"bundleId": "77119256265773742309930654065362693497375232736834856992878277299604179621015",
"status": "PENDING",
"error": {
"success": false,
"call": {
"to": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
"value": "0",
"data": "0xa9059cbb000000000000000000000000579d5631f76126991c00fb8fe5467fa9d49e5f6a"
},
"details": {
"blockNumber": "12345678",
"filler": "0x742d35Cc6634C0532925a3b8D4C9db96C4b4d8b9",
"simulationUrl": "https://simulator.example.com/tx/0x123..."
}
}
}
]
}
Headers
Rhinestone API key
Body
application/json
Body
The body is of type object
.
Response
201
application/json
201
Bundle(s) submitted successfully
curl --request POST \
--url https://orchestrator.rhinestone.dev/bundles \
--header 'Content-Type: application/json' \
--header 'x-api-key: <x-api-key>' \
--data '{
"bundles": [
{
"signedOrderBundle": {
"sponsor": "<string>",
"nonce": "<string>",
"expires": "<string>",
"segments": [
"<any>"
],
"targetSignature": "<string>",
"originSignatures": [
"<string>"
]
},
"initCode": "<string>",
"userOp": {
"sender": "<string>",
"nonce": "<string>",
"initCode": "<string>",
"callData": "<string>",
"accountGasLimits": "<string>",
"preVerificationGas": "<string>",
"gasFees": "<string>",
"paymasterAndData": "<string>",
"signature": "<string>"
}
}
]
}'
{
"bundleResults": [
{
"bundleId": "77119256265773742309930654065362693497375232736834856992878277299604179621015",
"status": "PENDING",
"error": {
"success": false,
"call": {
"to": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
"value": "0",
"data": "0xa9059cbb000000000000000000000000579d5631f76126991c00fb8fe5467fa9d49e5f6a"
},
"details": {
"blockNumber": "12345678",
"filler": "0x742d35Cc6634C0532925a3b8D4C9db96C4b4d8b9",
"simulationUrl": "https://simulator.example.com/tx/0x123..."
}
}
}
]
}
Assistant
Responses are generated using AI and may contain mistakes.