curl --request POST \
--url https://builder.snek.fun/submit \
--header 'Content-Type: application/json' \
--data '{ "cbor": "84a500..." }'
{ "txHash": "..." }
Transaction Builder API
Submit pre-signed transaction
Submit a fully-signed transaction CBOR
POST
/
submit
curl --request POST \
--url https://builder.snek.fun/submit \
--header 'Content-Type: application/json' \
--data '{ "cbor": "84a500..." }'
{ "txHash": "..." }
Submits a fully-signed Cardano transaction CBOR to the network. Use this endpoint when the transaction is already fully signed and ready for relay submission.
Auth: Public
Possible errors:
Use
/sign to attach a witness without submission, or /sign-and-submit to attach a witness and submit in one call.Request body
string
required
Hex-encoded fully-signed transaction CBOR.
Response
string
Hash of the submitted transaction.
curl --request POST \
--url https://builder.snek.fun/submit \
--header 'Content-Type: application/json' \
--data '{ "cbor": "84a500..." }'
{ "txHash": "..." }
Error response
string
Machine-readable error code.
string
Human-readable error message.
400 INVALID_PARAMS— the request body is missingcbororcboris not a string.500 SERVER_ERROR— the CBOR could not be processed or relay submission failed.
{
"cause": "INVALID_PARAMS",
"message": "Invalid input"
}
Was this page helpful?