Returns tips that are ideal for attaching a message.
GET/api/v1/tips
Returns tips that are ideal for attaching a message. The tips can be considered as non-lazy
and are therefore ideal for attaching a message.
Request
Responses
- 200
- 403
- 500
- 503
Successful operation.
- application/json
- Schema
- Example (from schema)
- default
Schema
data objectrequired
tipMessageIds string[]required
The message identifiers that can be used to a attach a message to.
{
"data": {
"tipMessageIds": [
"string"
]
}
}
{
"data": {
"tipMessageIds": [
"f532a53545103276b46876c473846d98648ee418468bce76df4868648dd73e5d",
"78d546b46aec4557872139a48f66bc567687e8413578a14323548732358914a2"
]
}
}
Unsuccessful operation: indicates that the endpoint is not available for public use.
- application/json
- Schema
- Example (from schema)
Schema
error objectrequired
code stringrequired
The application error code.
message stringrequired
The error reason.
{
"error": {
"code": 403,
"message": "not available for public use"
}
}
Unsuccessful operation: indicates that an unexpected, internal server error happened which prevented the node from fulfilling the request.
- application/json
- Schema
- Example (from schema)
Schema
error objectrequired
code stringrequired
The application error code.
message stringrequired
The error reason.
{
"error": {
"code": 500,
"message": "internal server error"
}
}
Unsuccessful operation: indicates that there are no tips available or the node isn´t synced.
- application/json
- Schema
- Example (from schema)
Schema
error objectrequired
code stringrequired
The application error code.
message stringrequired
The error reason.
{
"error": {
"code": 503,
"message": "service unavailable"
}
}
Loading...