Transaction Builder API
Withdraw vesting lock
Build a transaction that unlocks and withdraws vested tokens
POST
Builds a transaction that unlocks and withdraws tokens from a vesting lock.
Auth: Public
Possible errors:
Request body
Vesting UTxO ID in
txHash:index format.Caller’s Cardano address (must match the lock owner).
Response
Hex-encoded signed transaction CBOR.
Error response
Machine-readable error code.
Human-readable error message.
400 INVALID_PARAMS— one or more required fields are missing or have the wrong type.400 UTxO_SPENT— the vesting UTxO has already been spent.400 INVALID_DATUM— the referenced UTxO has no inline datum.400 LOCK_NOT_EXPIRED— the vesting lock is still active and cannot be withdrawn yet.403 NOT_OWNER—addressdoes not match the lock owner.404 UTxO_NOT_FOUND— the referenced vesting UTxO does not exist.500 SERVER_ERROR— unexpected server-side failure.