Skip to main content
POST
/
v1
/
vesting
/
get-by-asset
/
{asset}
curl --request POST \
  --url "https://token-vesting.snek.fun/v1/vesting/get-by-asset/fbd4d3c334063ac19566f6ba39b6ec707ea91fa81d0c09201575c10b.44415645" \
  --header "Content-Type: application/json" \
  --data '{}'
{
  "vestings": []
}
Returns all unspent vestings for the given native asset (policy id + asset name in one path segment). Auth: Public POST requests must include Content-Type: application/json. Body may be empty or {}.

Path parameters

asset
string
required
Cardano asset ID: policyId + . + hex-encoded asset name (same as elsewhere: Asset ID). The dot may appear inside the hex name segment; the server parses a full AssetClass string.

Response

Same shape as Vesting by redeemer: object with a vestings array of objects (id, lockUntil, redeemerVkh, tokenPolicyId, tokenAssetName, totalLocked, vestingOwnerAddress, spent).
curl --request POST \
  --url "https://token-vesting.snek.fun/v1/vesting/get-by-asset/fbd4d3c334063ac19566f6ba39b6ec707ea91fa81d0c09201575c10b.44415645" \
  --header "Content-Type: application/json" \
  --data '{}'
{
  "vestings": []
}