curl --request POST \
--url https://builder.snek.fun/sign-and-submit \
--header 'Content-Type: application/json' \
--data '{
"cbor": "84a500...",
"witness": "...",
"changeAddress": "addr1..."
}'
{ "txHash": "..." }
Transaction Builder API
Sign and submit
Attach a witness and submit in one call
POST
/
sign-and-submit
curl --request POST \
--url https://builder.snek.fun/sign-and-submit \
--header 'Content-Type: application/json' \
--data '{
"cbor": "84a500...",
"witness": "...",
"changeAddress": "addr1..."
}'
{ "txHash": "..." }
Attaches the provided witness to a transaction and submits it to the Cardano network in a single round-trip. Use this endpoint when you want signing and submission handled in one call.
Use
/sign if you want the signed CBOR back without submission, or /submit if the transaction is already fully signed.
Auth: Public
Request body
Response
curl --request POST \
--url https://builder.snek.fun/sign-and-submit \
--header 'Content-Type: application/json' \
--data '{
"cbor": "84a500...",
"witness": "...",
"changeAddress": "addr1..."
}'
{ "txHash": "..." }
Error response
Possible errors:400 INVALID_PARAMS— one or more required fields are missing or have the wrong type.500 SERVER_ERROR— the transaction CBOR or witness CBOR could not be processed, or relay submission failed.
{
"cause": "INVALID_PARAMS",
"message": "Invalid input"
}
Was this page helpful?