Returns Search Policy Results
Returns search policy result
Body
textstringRequired
Text
minVcCountnumberRequiredExample:
Mint VC count
10
minVpCountnumberRequiredExample:
Mint VP count
10
minTokensCountnumberRequiredExample:
Mint tokens count
10
thresholdnumberRequiredExample:
Threshold
10
ownerstringRequiredExample:
Owner
did:hedera:testnet:8Go53QCUXZ4nzSQMyoWovWCxseogGTMLDiHg14Fkz4VN_0.0.4481265
Responses
200
Search policy result
application/json
422
Unprocessable entity
500
Internal server error
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