Skip to content

Multisig operations, newest activity first

GET
/v1/multisig-operations/

Operations of every multisig, or of one, from their opening approval to their execution or cancellation, with the call they run once it was read: the call whose hash is the operation’s when it opened from block 8,714,635 on, and maybe one no hash proved when it opened below (see call). Read from final blocks, a few minutes behind the head. A block still missing, not final or undecoded 600 blocks later (about two hours) is read as it is stored, and again once it settles. Page-number pagination without totals.

Rate limit: 300 requests per minute per IP (scope explore).

  • None
member
string

Only the operations of multisigs this account is a member of: an SS58 address, any prefix; a value that is no address is a 400.

multisig
string

Only this multisig’s operations: an SS58 address, any prefix; a value that is no address is a 400.

page
integer

1-based page number. Defaults to 1; an unparseable value falls back to it.

page_size
integer

Rows per page. Default 25, clamped to [1, 100].

status
string

Only this status: open, executed, failed, cancelled. Another value is a 400.

One page of operations.

Media typeapplication/json
object
results
required

This page’s rows, in the order the operation states.

Array<object>

One operation, from its opening approval to its execution or cancellation.

object
multisig
required

The multisig’s address, SS58 prefix 42.

string
threshold
required

Approvals the multisig needs, as /v1/multisigs/ states it: 0 while its members are unknown.

integer
call_hash
required

BLAKE2b-256 of the encoded call, 0x-prefixed, never empty: a 1-of-N call, which runs at once, is served under the hash of the call it ran.

string
opened_block
required

Block of the opening approval: with opened_index, the timepoint every later approval quotes.

integer
opened_index
required

Extrinsic index of the opening approval in its block.

integer
opened_at
required

Time of opened_block; null when not known.

string format: date-time
nullable
depositor
required

The member whose opening approval reserved the deposit; empty when the opening was not read.

string
approvals
required

The members who approved, the depositor first, then in the order their approvals were read.

Array<string>
status
required

open until executed (executed, or failed when its call returned an error) or cancelled by its depositor.

  • open - open
  • executed - executed
  • failed - failed
  • cancelled - cancelled
string
Allowed values: open executed failed cancelled
call
required

Null until its call was read: an operation opened and approved by hash alone has none. On an operation opened from block 8,714,635 on (opened_block), the call served is the one whose hash is call_hash. On one opened below it, still open or not, it may be a call no hash proved (the decoder of the time stated another): hash the call again before signing from it.

object
module
required

Pallet, as the runtime names it (Balances, SubtensorModule).

string
function
required

Call name, snake_case (transfer_keep_alive).

string
args
required

[{name, type, value}], nested calls decoded the same way; integers past 2^53 - 1 are decimal strings, and a string longer than 2,048 characters is {elided: true, length}, its length in characters. A nested call carries its own call_hash, except in an operation opened below block 8,714,635: the decoder of the time stated another, which is left out. Empty when elided is true.

Array<object>
object
key
additional properties
elided

Present, and true, when the arguments weigh more than 32,768 bytes or nest lists and objects deeper than 128: the call is then served without them (args is empty).

boolean
length

Beside elided: the size in bytes of the arguments left out, as compact JSON after the long strings were elided.

integer
closed_block
required

Block of the execution or cancellation; null while open.

integer
nullable
closed_index
required

Extrinsic index of the execution or cancellation; null while open.

integer
nullable
closed_at
required

Time of closed_block; null while open or when not known.

string format: date-time
nullable
closed_by
required

The member whose approval executed it, or who cancelled it; null while open.

string
nullable
error
required

A failed call’s dispatch error, as MultisigExecuted.result.Err carried it.

nullable
last_block
required

The latest block that touched it, which orders the lists.

integer
pagination
required

Where this page sits in the list, and whether another follows.

object
page
required

The page served, counting from 1.

integer
page_size
required

Rows per page, the requested size within the route’s bounds.

integer
has_next
required

Whether another page follows.

boolean
has_previous
required

True past page 1.

boolean

Example

{
"results": [
{
"status": "open"
}
]
}

A parameter failed its check, which message names. code is usually VALIDATION_ERROR.

Media typeapplication/json

The error envelope every 4xx and 5xx response carries. The introduction lists the code values.

object
error
required

Always true. Lets a client branch without reading the status code.

boolean
code
required

Machine-readable error code, such as VALIDATION_ERROR or RESOURCE_NOT_FOUND. Branch on it, not on message.

string
message
required

One human-readable sentence.

string
detail
required

Extra context for some codes, such as the invalid fields of a VALIDATION_ERROR or retry_after on RATE_LIMITED; else null.

nullable

Examples

ExampleVALIDATIONERROR

VALIDATION_ERROR

{
"error": true,
"code": "VALIDATION_ERROR",
"message": "status must be one of open, executed, failed, cancelled",
"detail": null
}

Rate limit exceeded (300/minute, per IP). Retry-After carries the seconds to wait.

Media typeapplication/json

The error envelope every 4xx and 5xx response carries. The introduction lists the code values.

object
error
required

Always true. Lets a client branch without reading the status code.

boolean
code
required

Machine-readable error code, such as VALIDATION_ERROR or RESOURCE_NOT_FOUND. Branch on it, not on message.

string
message
required

One human-readable sentence.

string
detail
required

Extra context for some codes, such as the invalid fields of a VALIDATION_ERROR or retry_after on RATE_LIMITED; else null.

nullable

Examples

ExampleRATELIMITED

RATE_LIMITED

{
"error": true,
"code": "RATE_LIMITED",
"message": "Request was throttled",
"detail": {
"retry_after": 12
}
}
Retry-After
integer

Seconds before the next request is accepted.