Skip to main content
GET
/
api
/
v1
/
wallet
/
vtxos
/
{id}
/
encoded
Get encoded VTXO
curl --request GET \
  --url https://api.example.com/api/v1/wallet/vtxos/{id}/encoded \
  --header 'Authorization: Bearer <token>'
{
  "encoded": "<string>"
}

Documentation Index

Fetch the complete documentation index at: https://second.tech/docs/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

Base64url-encoded auth token

Path Parameters

id
string
required

VTXO identifier formatted as txid:vout.

Response

Returns the hex-encoded serialized VTXO

Response for the encoded-VTXO endpoint.

Wraps the hex-encoded VTXO in a named field so clients can easily extract it.

encoded
string
required

Hex-encoded serialized VTXO.