Returns Search Policy Results

Search policy

post

Returns search policy result

Body
textstringRequired

Text

minVcCountnumberRequired

Mint VC count

Example: 10
minVpCountnumberRequired

Mint VP count

Example: 10
minTokensCountnumberRequired

Mint tokens count

Example: 10
thresholdnumberRequired

Threshold

Example: 10
ownerstringRequired

Owner

Example: did:hedera:testnet:8Go53QCUXZ4nzSQMyoWovWCxseogGTMLDiHg14Fkz4VN_0.0.4481265
Responses
200
Search policy result
application/json
post
POST /api/v1/analytics/search/policy HTTP/1.1
Host: 
Content-Type: application/json
Accept: */*
Content-Length: 261

{
  "text": "text",
  "minVcCount": 10,
  "minVpCount": 10,
  "minTokensCount": 10,
  "threshold": 10,
  "owner": "did:hedera:testnet:8Go53QCUXZ4nzSQMyoWovWCxseogGTMLDiHg14Fkz4VN_0.0.4481265",
  "blocks": {
    "hash": "DdQweGpEqbWgQUZcQjySQn2qYPd3yACGnSoRXiuLt5or",
    "hashMap": {},
    "threshold": 10
  }
}
[
  {
    "type": "Global",
    "topicId": "0.0.4481265",
    "uuid": "93938a10-d032-4a9b-9425-092e58bffbf7",
    "name": "Verra REDD",
    "description": "Verra REDD Policy",
    "version": "1.0.0",
    "status": "PUBLISH",
    "messageId": "1706823227.586179534",
    "owner": "did:hedera:testnet:8Go53QCUXZ4nzSQMyoWovWCxseogGTMLDiHg14Fkz4VN_0.0.4481265",
    "textSearch": "text",
    "registryId": "1706823227.586179534",
    "vcCount": 10,
    "vpCount": 10,
    "tokensCount": 10,
    "rate": 50,
    "tags": [
      "iRec"
    ]
  }
]

Last updated