Entrypoints
Returns entrypoints of the specified contract.
Path parameters
addressstringRequired
Contract address (starting with KT)
Query parameters
allbooleanOptionalDefault:
If true, returns all entrypoints, including unused ones.
Unused means that the entrypoint can be normalized to a more specific one.
For example here (or %entry1 (unit %entry2) (nat %entry3))
the %entry1
is unused entrypoint
because it can be normalized to %entry2
or %entry3
false
jsonbooleanOptionalDefault:
Include parameters schema in human-readable JSON format
true
michelinebooleanOptionalDefault:
Include parameters schema in micheline format
false
michelsonbooleanOptionalDefault:
Include parameters schema in michelson format
false
Responses
200Success
application/json
get
GET /v1/contracts/{address}/entrypoints HTTP/1.1
Host: xtz-index.nownodes.io
Accept: */*
200Success
[
{
"name": "text",
"jsonParameters": null,
"michelineParameters": {
"type": 0
},
"michelsonParameters": "text",
"unused": true
}
]
Returns contract's entrypoint with specified name.
Path parameters
addressstringRequired
Contract address (starting with KT)
namestringRequired
Entrypoint name
Query parameters
jsonbooleanOptionalDefault:
Include parameters schema in human-readable JSON format
true
michelinebooleanOptionalDefault:
Include parameters schema in micheline format
false
michelsonbooleanOptionalDefault:
Include parameters schema in michelson format
false
Responses
200Success
application/json
get
GET /v1/contracts/{address}/entrypoints/{name} HTTP/1.1
Host: xtz-index.nownodes.io
Accept: */*
200Success
{
"name": "text",
"jsonParameters": null,
"michelineParameters": {
"type": 0
},
"michelsonParameters": "text",
"unused": true
}