Dispute before `executable_at` (owner of the subscription only)
POST
/v1/slashes/{evidence_hash}/disputes
const url = 'https://testnet-rpc.necter.network/v1/slashes/example/disputes';const options = { method: 'POST', headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'}, body: '{"reason":"example","links":["https://example.com"]}'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request POST \ --url https://testnet-rpc.necter.network/v1/slashes/example/disputes \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "reason": "example", "links": [ "https://example.com" ] }'Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”evidence_hash
required
string
Request Bodyrequired
Section titled “Request Bodyrequired”Media typeapplication/json
object
reason
required
string
links
Array<string>
Example generated
{ "reason": "example", "links": [ "https://example.com" ]}Responses
Section titled “Responses”Filed
Media typeapplication/json
object
evidence_hash
required
string
kind
required
string
project_id
required
string
subscription_id
required
string
node_id
required
string
round_id
string
bp
integer
amount
Token base units
string
status
required
string
dispute
recovery
string | null
created_at
required
integer
Example
{ "kind": "invalid_result", "status": "recorded", "dispute": { "outcome": "cancelled" }}Authenticated but not allowed (forbidden, not_owner, not_enrolled, not_verified, scope_missing)
Media typeapplication/json
object
error
required
Stable machine code
string
message
required
string
details
object
key
additional properties
any
request_id
required
string
Example generated
{ "error": "example", "message": "example", "details": {}, "request_id": "example"}conflict, duplicate, already_exists, invalid_state
Media typeapplication/json
object
error
required
Stable machine code
string
message
required
string
details
object
key
additional properties
any
request_id
required
string
Example generated
{ "error": "example", "message": "example", "details": {}, "request_id": "example"}