Skip to Content
API ReferenceMarketplaceSafe Multisig API

Safe Multisig API logo Safe Multisig API

API for Safe Multisig. Every ABI item below is callable as its own Spectrum JSON-RPC method. See the Marketplace overview for how the method names are built.

Wallets

Method names here carry no chain, so every call must pass chain and the contract address that implements this ABI.

Methods

Functions

ReadgetThresholdspectrum_safemultisig_safe_call_getThreshold

Fetches the threshold of the multisig

curl -X POST https://your-endpoint.simplystaking.xyz/v1 \
  -H "Content-Type: application/json" \
{
  "jsonrpc": "2.0",
  "method": "spectrum_safemultisig_safe_call_getThreshold",
  "params": {
    "args": [],
    "chain": "ethereum",
    "address": "0x0000000000000000000000000000000000000001"
  },
  "id": 1
}
Outputs
NameType
output_0
Threshold
uint256
Try It
Demo endpoint: one request per second. Get your own endpoint for higher limits.
ReadgetOwnersspectrum_safemultisig_safe_call_getOwners

Fetches the owners of the multisig

curl -X POST https://your-endpoint.simplystaking.xyz/v1 \
  -H "Content-Type: application/json" \
{
  "jsonrpc": "2.0",
  "method": "spectrum_safemultisig_safe_call_getOwners",
  "params": {
    "args": [],
    "chain": "ethereum",
    "address": "0x0000000000000000000000000000000000000001"
  },
  "id": 1
}
Outputs
NameType
output_0
Array of owner addresses
address[]
Try It
Demo endpoint: one request per second. Get your own endpoint for higher limits.
Readnoncespectrum_safemultisig_safe_call_nonce

Fetches the nonce of the multisig

curl -X POST https://your-endpoint.simplystaking.xyz/v1 \
  -H "Content-Type: application/json" \
{
  "jsonrpc": "2.0",
  "method": "spectrum_safemultisig_safe_call_nonce",
  "params": {
    "args": [],
    "chain": "ethereum",
    "address": "0x0000000000000000000000000000000000000001"
  },
  "id": 1
}
Outputs
NameType
output_0
Nonce
uint256
Try It
Demo endpoint: one request per second. Get your own endpoint for higher limits.
ReadgetTransactionHashspectrum_safemultisig_safe_call_getTransactionHash

Fetches a particular transaction hash

curl -X POST https://your-endpoint.simplystaking.xyz/v1 \
  -H "Content-Type: application/json" \
{
  "jsonrpc": "2.0",
  "method": "spectrum_safemultisig_safe_call_getTransactionHash",
  "params": {
    "args": [
      "0x0000000000000000000000000000000000000001",
      "0",
      "0x",
      "0",
      "0",
      "0",
      "0",
      "0x0000000000000000000000000000000000000001",
      "0x0000000000000000000000000000000000000001",
      "0"
    ],
    "chain": "ethereum",
    "address": "0x0000000000000000000000000000000000000001"
  },
  "id": 1
}
Inputs
NameType
toaddress
valueuint256
databytes
operationuint8
safeTxGasuint256
baseGasuint256
gasPriceuint256
gasTokenaddress
refundReceiveraddress
_nonceuint256
Outputs
NameType
output_0bytes32
Try It
Demo endpoint: one request per second. Get your own endpoint for higher limits.
WriteexecTransactionspectrum_safemultisig_safe_simulateCall_execTransaction

Executes a transaction

curl -X POST https://your-endpoint.simplystaking.xyz/v1 \
  -H "Content-Type: application/json" \
{
  "jsonrpc": "2.0",
  "method": "spectrum_safemultisig_safe_simulateCall_execTransaction",
  "params": {
    "args": [
      "0x0000000000000000000000000000000000000001",
      "0",
      "0x",
      "0",
      "0",
      "0",
      "0",
      "0x0000000000000000000000000000000000000001",
      "0x0000000000000000000000000000000000000001",
      "0x"
    ],
    "from": "0x0000000000000000000000000000000000000001",
    "value": "0x0",
    "height": "latest",
    "chain": "ethereum",
    "address": "0x0000000000000000000000000000000000000001"
  },
  "id": 1
}
Inputs
NameType
toaddress
valueuint256
databytes
operationuint8
safeTxGasuint256
baseGasuint256
gasPriceuint256
gasTokenaddress
refundReceiveraddress
signaturesbytes
Outputs
NameType
successbool
Try It
Demo endpoint: one request per second. Get your own endpoint for higher limits.

Events

EventExecutionSuccessspectrum_safemultisig_safe_getLogs_ExecutionSuccess

Event emitted when an execution suceeds

curl -X POST https://your-endpoint.simplystaking.xyz/v1 \
  -H "Content-Type: application/json" \
{
  "jsonrpc": "2.0",
  "method": "spectrum_safemultisig_safe_getLogs_ExecutionSuccess",
  "params": {
    "args": [
      null,
      null
    ],
    "fromBlock": "latest",
    "toBlock": "latest",
    "chain": "ethereum",
    "address": "0x0000000000000000000000000000000000000001"
  },
  "id": 1
}
Event arguments
NameTypeIndexed
txHashbytes32no
paymentuint256no
Try It
Demo endpoint: one request per second. Get your own endpoint for higher limits.
EventAddedOwnerspectrum_safemultisig_safe_getLogs_AddedOwner

Event emitted when an owner is added

curl -X POST https://your-endpoint.simplystaking.xyz/v1 \
  -H "Content-Type: application/json" \
{
  "jsonrpc": "2.0",
  "method": "spectrum_safemultisig_safe_getLogs_AddedOwner",
  "params": {
    "args": [
      null
    ],
    "fromBlock": "latest",
    "toBlock": "latest",
    "chain": "ethereum",
    "address": "0x0000000000000000000000000000000000000001"
  },
  "id": 1
}
Event arguments
NameTypeIndexed
owner
Owner which was added
addressno
Try It
Demo endpoint: one request per second. Get your own endpoint for higher limits.
EventRemovedOwnerspectrum_safemultisig_safe_getLogs_RemovedOwner

Event emitted when an owner is removed

curl -X POST https://your-endpoint.simplystaking.xyz/v1 \
  -H "Content-Type: application/json" \
{
  "jsonrpc": "2.0",
  "method": "spectrum_safemultisig_safe_getLogs_RemovedOwner",
  "params": {
    "args": [
      null
    ],
    "fromBlock": "latest",
    "toBlock": "latest",
    "chain": "ethereum",
    "address": "0x0000000000000000000000000000000000000001"
  },
  "id": 1
}
Event arguments
NameTypeIndexed
owner
Owner which was removed
addressno
Try It
Demo endpoint: one request per second. Get your own endpoint for higher limits.