Infura Filecoin Documentation (1.0.0)

Infura Support: support@infura.io

Securing Your Credentials

The Filecoin endpoint currently supports basic auth which requires passing in a username and password.

The username is your `Project ID` and password is your `Project Secret` which you can find by navigating to your project settings at `https://infura.io/dashboard/filecoin//settings`

Stateless and Streaming APIs

Most RPC methods are stateless and are made available through HTTPS. These can be queried with curl:

curl -X POST -H "Content-Type: application/json"
  --user <PROJECT_ID>:<PROJECT_SECRET>
  --url https://filecoin.infura.io
  --data '{ "id": 0, "jsonrpc": "2.0", "method": "Filecoin.ChainHead", "params": [] }'

Methods that are designed to stream updates to the client are available only through Websockets.

wscat can be used to try these from CLI.

wscat --auth <PROJECT_ID>:<PROJECT_SECRET> --connect wss://filecoin.infura.io

> { "jsonrpc": "2.0", "method": "Filecoin.ChainNotify", "params": [], "id": 3 }

Authentication

basicAuth

Security Scheme Type HTTP
HTTP Authorization Scheme basic

Chain

ChainNotify

First message is guaranteed to be of len == 1, and type == 'current'.

Authorizations:
Request Body schema: application/json
id
required
number
jsonrpc
required
string
Value: "2.0"
method
required
string
Value: "Filecoin.ChainNotify"
params
required
Array of any

Responses

Request samples

Content type
application/json
{
  • "id": 0,
  • "jsonrpc": "2.0",
  • "method": "Filecoin.ChainNotify",
  • "params": [
    ]
}

Response samples

Content type
application/json
Example
{
  • "id": 0,
  • "jsonrpc": "2.0",
  • "result": [
    ]
}

ChainHead

Authorizations:
Request Body schema: application/json
id
required
number
jsonrpc
required
string
Value: "2.0"
method
required
string
Value: "Filecoin.ChainHead"
params
required
Array of any

Responses

Request samples

Content type
application/json
{
  • "id": 0,
  • "jsonrpc": "2.0",
  • "method": "Filecoin.ChainHead",
  • "params": [
    ]
}

Response samples

Content type
application/json
Example
{
  • "id": 0,
  • "jsonrpc": "2.0",
  • "result": "string"
}

ChainGetBlock

Authorizations:
Request Body schema: application/json
id
required
number
jsonrpc
required
string
Value: "2.0"
method
required
string
Value: "Filecoin.ChainGetBlock"
required
Array of []byte (string) 1 items

Responses

Request samples

Content type
application/json
{
  • "id": 0,
  • "jsonrpc": "2.0",
  • "method": "Filecoin.ChainGetBlock",
  • "params": [
    ]
}

Response samples

Content type
application/json
Example
{
  • "id": 0,
  • "jsonrpc": "2.0",
  • "result": {
    }
}

ChainGetTipSet

Authorizations:
Request Body schema: application/json
id
required
number
jsonrpc
required
string
Value: "2.0"
method
required
string
Value: "Filecoin.ChainGetTipSet"
required
Array of TipSetKey (string) 1 items

Responses

Request samples

Content type
application/json
{
  • "id": 0,
  • "jsonrpc": "2.0",
  • "method": "Filecoin.ChainGetTipSet",
  • "params": [
    ]
}

Response samples

Content type
application/json
Example
{
  • "id": 0,
  • "jsonrpc": "2.0",
  • "result": "string"
}

ChainGetBlockMessages

Authorizations:
Request Body schema: application/json
id
required
number
jsonrpc
required
string
Value: "2.0"
method
required
string
Value: "Filecoin.ChainGetBlockMessages"
required
Array of []byte (string) 1 items

Responses

Request samples

Content type
application/json
{
  • "id": 0,
  • "jsonrpc": "2.0",
  • "method": "Filecoin.ChainGetBlockMessages",
  • "params": [
    ]
}

Response samples

Content type
application/json
Example
{
  • "id": 0,
  • "jsonrpc": "2.0",
  • "result": {
    }
}

ChainGetParentReceipts

the specified block.

Authorizations:
Request Body schema: application/json
id
required
number
jsonrpc
required
string
Value: "2.0"
method
required
string
Value: "Filecoin.ChainGetParentReceipts"
required
Array of []byte (string) 1 items

Responses

Request samples

Content type
application/json
{
  • "id": 0,
  • "jsonrpc": "2.0",
  • "method": "Filecoin.ChainGetParentReceipts",
  • "params": [
    ]
}

Response samples

Content type
application/json
Example
{
  • "id": 0,
  • "jsonrpc": "2.0",
  • "result": [
    ]
}

ChainGetParentMessages

specified block.

Authorizations:
Request Body schema: application/json
id
required
number
jsonrpc
required
string
Value: "2.0"
method
required
string
Value: "Filecoin.ChainGetParentMessages"
required
Array of []byte (string) 1 items

Responses

Request samples

Content type
application/json
{
  • "id": 0,
  • "jsonrpc": "2.0",
  • "method": "Filecoin.ChainGetParentMessages",
  • "params": [
    ]
}

Response samples

Content type
application/json
Example
{
  • "id": 0,
  • "jsonrpc": "2.0",
  • "result": [
    ]
}

ChainGetTipSetByHeight

If there are no blocks at the specified epoch, a tipset at an earlier epoch will be returned.

Authorizations:
Request Body schema: application/json
id
required
number
jsonrpc
required
string
Value: "2.0"
method
required
string
Value: "Filecoin.ChainGetTipSetByHeight"
required
Array of ChainEpoch (integer) or TipSetKey (string) 2 items

Responses

Request samples

Content type
application/json
{
  • "id": 0,
  • "jsonrpc": "2.0",
  • "method": "Filecoin.ChainGetTipSetByHeight",
  • "params": [
    ]
}

Response samples

Content type
application/json
Example
{
  • "id": 0,
  • "jsonrpc": "2.0",
  • "result": "string"
}

ChainReadObj

blockstore and returns raw bytes.

Authorizations:
Request Body schema: application/json
id
required
number
jsonrpc
required
string
Value: "2.0"
method
required
string
Value: "Filecoin.ChainReadObj"
required
Array of []byte (string) 1 items

Responses

Request samples

Content type
application/json
{
  • "id": 0,
  • "jsonrpc": "2.0",
  • "method": "Filecoin.ChainReadObj",
  • "params": [
    ]
}

Response samples

Content type
application/json
Example
{
  • "id": 0,
  • "jsonrpc": "2.0",
  • "result": "string"
}

ChainHasObj

Authorizations:
Request Body schema: application/json
id
required
number
jsonrpc
required
string
Value: "2.0"
method
required
string
Value: "Filecoin.ChainHasObj"
required
Array of []byte (string) 1 items

Responses

Request samples

Content type
application/json
{
  • "id": 0,
  • "jsonrpc": "2.0",
  • "method": "Filecoin.ChainHasObj",
  • "params": [
    ]
}

Response samples

Content type
application/json
Example
{
  • "id": 0,
  • "jsonrpc": "2.0",
  • "result": true
}

ChainStatObj

If 'base' is also specified, then the returned stat will be a diff between the two objects.

Authorizations:
Request Body schema: application/json
id
required
number
jsonrpc
required
string
Value: "2.0"
method
required
string
Value: "Filecoin.ChainStatObj"
required
Array of []byte (string) or []byte (string) 2 items

Responses

Request samples

Content type
application/json
{
  • "id": 0,
  • "jsonrpc": "2.0",
  • "method": "Filecoin.ChainStatObj",
  • "params": [
    ]
}

Response samples

Content type
application/json
Example
{
  • "id": 0,
  • "jsonrpc": "2.0",
  • "result": {
    }
}

ChainGetGenesis

ChainTipSetWeight computes weight for the specified tipset.

Authorizations:
Request Body schema: application/json
id
required
number
jsonrpc
required
string
Value: "2.0"
method
required
string
Value: "Filecoin.ChainGetGenesis"
params
required
Array of any

Responses

Request samples

Content type
application/json
{
  • "id": 0,
  • "jsonrpc": "2.0",
  • "method": "Filecoin.ChainGetGenesis",
  • "params": [
    ]
}

Response samples

Content type
application/json
Example
{
  • "id": 0,
  • "jsonrpc": "2.0",
  • "result": "string"
}

ChainTipSetWeight

Authorizations:
Request Body schema: application/json
id
required
number
jsonrpc
required
string
Value: "2.0"
method
required
string
Value: "Filecoin.ChainTipSetWeight"
required
Array of TipSetKey (string) 1 items

Responses

Request samples

Content type
application/json
{
  • "id": 0,
  • "jsonrpc": "2.0",
  • "method": "Filecoin.ChainTipSetWeight",
  • "params": [
    ]
}

Response samples

Content type
application/json
Example
{
  • "id": 0,
  • "jsonrpc": "2.0",
  • "result": "string"
}

ChainGetMessage

chain blockstore.

Authorizations:
Request Body schema: application/json
id
required
number
jsonrpc
required
string
Value: "2.0"
method
required
string
Value: "Filecoin.ChainGetMessage"
required
Array of []byte (string) 1 items

Responses

Request samples

Content type
application/json
{
  • "id": 0,
  • "jsonrpc": "2.0",
  • "method": "Filecoin.ChainGetMessage",
  • "params": [
    ]
}

Response samples

Content type
application/json
Example
{
  • "id": 0,
  • "jsonrpc": "2.0",
  • "result": "string"
}

ChainGetPath

one tipset to another, for example:“to ^ from tAA ^ ^ tBA tAB ^---*--^ ^ tRR“ Would return [revert(tBA), apply(tAB), apply(tAA)]

Authorizations:
Request Body schema: application/json
id
required
number
jsonrpc
required
string
Value: "2.0"
method
required
string
Value: "Filecoin.ChainGetPath"
required
Array of TipSetKey (string) or TipSetKey (string) 2 items

Responses

Request samples

Content type
application/json
{
  • "id": 0,
  • "jsonrpc": "2.0",
  • "method": "Filecoin.ChainGetPath",
  • "params": [
    ]
}

Response samples

Content type
application/json
Example
{
  • "id": 0,
  • "jsonrpc": "2.0",
  • "result": [
    ]
}

Gas

GasEstimateFeeCap

Authorizations:
Request Body schema: application/json
id
required
number
jsonrpc
required
string
Value: "2.0"
method
required
string
Value: "Filecoin.GasEstimateFeeCap"
required
Array of Message (string) or int64 (integer) or TipSetKey (string) 3 items

Responses

Request samples

Content type
application/json
{
  • "id": 0,
  • "jsonrpc": "2.0",
  • "method": "Filecoin.GasEstimateFeeCap",
  • "params": [
    ]
}

Response samples

Content type
application/json
Example
{
  • "id": 0,
  • "jsonrpc": "2.0",
  • "result": "string"
}

GasEstimateGasLimit

It fails if message fails to execute.

Authorizations:
Request Body schema: application/json
id
required
number
jsonrpc
required
string
Value: "2.0"
method
required
string
Value: "Filecoin.GasEstimateGasLimit"
required
Array of Message (string) or TipSetKey (string) 2 items

Responses

Request samples

Content type
application/json
{
  • "id": 0,
  • "jsonrpc": "2.0",
  • "method": "Filecoin.GasEstimateGasLimit",
  • "params": [
    ]
}

Response samples

Content type
application/json
Example
{
  • "id": 0,
  • "jsonrpc": "2.0",
  • "result": 0
}

GasEstimateGasPremium

Authorizations:
Request Body schema: application/json
id
required
number
jsonrpc
required
string
Value: "2.0"
method
required
string
Value: "Filecoin.GasEstimateGasPremium"
required
Array of uint64 (integer) or Address (string) or int64 (integer) or TipSetKey (string) 4 items

Responses

Request samples

Content type
application/json
{
  • "id": 0,
  • "jsonrpc": "2.0",
  • "method": "Filecoin.GasEstimateGasPremium",
  • "params": [
    ]
}

Response samples

Content type
application/json
Example
{
  • "id": 0,
  • "jsonrpc": "2.0",
  • "result": "string"
}

GasEstimateMessageGas

Authorizations:
Request Body schema: application/json
id
required
number
jsonrpc
required
string
Value: "2.0"
method
required
string
Value: "Filecoin.GasEstimateMessageGas"
required
Array of Message (string) or MessageSendSpec (object) or TipSetKey (string) 3 items

Responses

Request samples

Content type
application/json
{
  • "id": 0,
  • "jsonrpc": "2.0",
  • "method": "Filecoin.GasEstimateMessageGas",
  • "params": [
    ]
}

Response samples

Content type
application/json
Example
{
  • "id": 0,
  • "jsonrpc": "2.0",
  • "result": "string"
}

Sync

SyncState

Authorizations:
Request Body schema: application/json
id
required
number
jsonrpc
required
string
Value: "2.0"
method
required
string
Value: "Filecoin.SyncState"
params
required
Array of any

Responses

Request samples

Content type
application/json
{
  • "id": 0,
  • "jsonrpc": "2.0",
  • "method": "Filecoin.SyncState",
  • "params": [
    ]
}

Response samples

Content type
application/json
Example
{
  • "id": 0,
  • "jsonrpc": "2.0",
  • "result": {
    }
}

SyncIncomingBlocks

yet synced block headers.

Authorizations:
Request Body schema: application/json
id
required
number
jsonrpc
required
string
Value: "2.0"
method
required
string
Value: "Filecoin.SyncIncomingBlocks"
params
required
Array of any

Responses

Request samples

Content type
application/json
{
  • "id": 0,
  • "jsonrpc": "2.0",
  • "method": "Filecoin.SyncIncomingBlocks",
  • "params": [
    ]
}

Response samples

Content type
application/json
Example
{
  • "id": 0,
  • "jsonrpc": "2.0",
  • "result": {
    }
}

Mpool

MpoolPending

Authorizations:
Request Body schema: application/json
id
required
number
jsonrpc
required
string
Value: "2.0"
method
required
string
Value: "Filecoin.MpoolPending"
required
Array of TipSetKey (string) 1 items

Responses

Request samples

Content type
application/json
{
  • "id": 0,
  • "jsonrpc": "2.0",
  • "method": "Filecoin.MpoolPending",
  • "params": [
    ]
}

Response samples

Content type
application/json
Example
{
  • "id": 0,
  • "jsonrpc": "2.0",
  • "result": [
    ]
}

MpoolPush

Authorizations:
Request Body schema: application/json
id
required
number
jsonrpc
required
string
Value: "2.0"
method
required
string
Value: "Filecoin.MpoolPush"
required
Array of SignedMessage (string) 1 items

Responses

Request samples

Content type
application/json
{
  • "id": 0,
  • "jsonrpc": "2.0",
  • "method": "Filecoin.MpoolPush",
  • "params": [
    ]
}

Response samples

Content type
application/json
Example
{
  • "id": 0,
  • "jsonrpc": "2.0",
  • "result": "string"
}

MpoolGetNonce

Authorizations:
Request Body schema: application/json
id
required
number
jsonrpc
required
string
Value: "2.0"
method
required
string
Value: "Filecoin.MpoolGetNonce"
required
Array of Address (string) 1 items

Responses

Request samples

Content type
application/json
{
  • "id": 0,
  • "jsonrpc": "2.0",
  • "method": "Filecoin.MpoolGetNonce",
  • "params": [
    ]
}

Response samples

Content type
application/json
Example
{
  • "id": 0,
  • "jsonrpc": "2.0",
  • "result": 0
}

MpoolSub

Authorizations:
Request Body schema: application/json
id
required
number
jsonrpc
required
string
Value: "2.0"
method
required
string
Value: "Filecoin.MpoolSub"
params
required
Array of any

Responses

Request samples

Content type
application/json
{
  • "id": 0,
  • "jsonrpc": "2.0",
  • "method": "Filecoin.MpoolSub",
  • "params": [
    ]
}

Response samples

Content type
application/json
Example
{
  • "id": 0,
  • "jsonrpc": "2.0",
  • "result": {
    }
}

Wallet

WalletBalance

Authorizations:
Request Body schema: application/json
id
required
number
jsonrpc
required
string
Value: "2.0"
method
required
string
Value: "Filecoin.WalletBalance"
required
Array of Address (string) 1 items

Responses

Request samples

Content type
application/json
{
  • "id": 0,
  • "jsonrpc": "2.0",
  • "method": "Filecoin.WalletBalance",
  • "params": [
    ]
}

Response samples

Content type
application/json
Example
{
  • "id": 0,
  • "jsonrpc": "2.0",
  • "result": "string"
}

WalletVerify

The address does not have to be in the wallet.

Authorizations:
Request Body schema: application/json
id
required
number
jsonrpc
required
string
Value: "2.0"
method
required
string
Value: "Filecoin.WalletVerify"
required
Array of Address (string) or []byte (string) or Signature (object) 3 items

Responses

Request samples

Content type
application/json
{
  • "id": 0,
  • "jsonrpc": "2.0",
  • "method": "Filecoin.WalletVerify",
  • "params": [
    ]
}

Response samples

Content type
application/json
Example
{
  • "id": 0,
  • "jsonrpc": "2.0",
  • "result": true
}

WalletValidateAddress

Authorizations:
Request Body schema: application/json
id
required
number
jsonrpc
required
string
Value: "2.0"
method
required
string
Value: "Filecoin.WalletValidateAddress"
required
Array of strings (string) 1 items

Responses

Request samples

Content type
application/json
{
  • "id": 0,
  • "jsonrpc": "2.0",
  • "method": "Filecoin.WalletValidateAddress",
  • "params": [
    ]
}

Response samples

Content type
application/json
Example
{
  • "id": 0,
  • "jsonrpc": "2.0",
  • "result": "string"
}

Client

ClientQueryAsk

Authorizations:
Request Body schema: application/json
id
required
number
jsonrpc
required
string
Value: "2.0"
method
required
string
Value: "Filecoin.ClientQueryAsk"
required
Array of ID (string) or Address (string) 2 items

Responses

Request samples

Content type
application/json
{
  • "id": 0,
  • "jsonrpc": "2.0",
  • "method": "Filecoin.ClientQueryAsk",
  • "params": [
    ]
}

Response samples

Content type
application/json
Example
{
  • "id": 0,
  • "jsonrpc": "2.0",
  • "result": {
    }
}

State

StateReplay

If no tipset key is provided, the appropriate tipset is looked up.

Authorizations:
Request Body schema: application/json
id
required
number
jsonrpc
required
string
Value: "2.0"
method
required
string
Value: "Filecoin.StateReplay"
required
Array of TipSetKey (string) or []byte (string) 2 items

Responses

Request samples

Content type
application/json
{
  • "id": 0,
  • "jsonrpc": "2.0",
  • "method": "Filecoin.StateReplay",
  • "params": [
    ]
}

Response samples

Content type
application/json
Example
{
  • "id": 0,
  • "jsonrpc": "2.0",
  • "result": {
    }
}

StateGetActor

Authorizations:
Request Body schema: application/json
id
required
number
jsonrpc
required
string
Value: "2.0"
method
required
string
Value: "Filecoin.StateGetActor"
required
Array of Address (string) or TipSetKey (string) 2 items

Responses

Request samples

Content type
application/json
{
  • "id": 0,
  • "jsonrpc": "2.0",
  • "method": "Filecoin.StateGetActor",
  • "params": [
    ]
}

Response samples

Content type
application/json
Example
{
  • "id": 0,
  • "jsonrpc": "2.0",
  • "result": {
    }
}

StateReadState

Authorizations:
Request Body schema: application/json
id
required
number
jsonrpc
required
string
Value: "2.0"
method
required
string
Value: "Filecoin.StateReadState"
required
Array of Address (string) or TipSetKey (string) 2 items

Responses

Request samples

Content type
application/json
{
  • "id": 0,
  • "jsonrpc": "2.0",
  • "method": "Filecoin.StateReadState",
  • "params": [
    ]
}

Response samples

Content type
application/json
Example
{
  • "id": 0,
  • "jsonrpc": "2.0",
  • "result": {
    }
}

StateListMessages

Authorizations:
Request Body schema: application/json
id
required
number
jsonrpc
required
string
Value: "2.0"
method
required
string
Value: "Filecoin.StateListMessages"
required
Array of MessageMatch (object) or TipSetKey (string) or ChainEpoch (integer) 3 items

Responses

Request samples

Content type
application/json
{
  • "id": 0,
  • "jsonrpc": "2.0",
  • "method": "Filecoin.StateListMessages",
  • "params": [
    ]
}

Response samples

Content type
application/json
Example
{
  • "id": 0,
  • "jsonrpc": "2.0",
  • "result": [
    ]
}

StateDecodeParams

Authorizations:
Request Body schema: application/json
id
required
number
jsonrpc
required
string
Value: "2.0"
method
required
string
Value: "Filecoin.StateDecodeParams"
required
Array of Address (string) or MethodNum (integer) or []byte (string) or TipSetKey (string) 4 items

Responses

Request samples

Content type
application/json
{
  • "id": 0,
  • "jsonrpc": "2.0",
  • "method": "Filecoin.StateDecodeParams",
  • "params": [
    ]
}

Response samples

Content type
application/json
Example
{
  • "id": 0,
  • "jsonrpc": "2.0",
  • "result": null
}

StateNetworkName

Authorizations:
Request Body schema: application/json
id
required
number
jsonrpc
required
string
Value: "2.0"
method
required
string
Value: "Filecoin.StateNetworkName"
params
required
Array of any

Responses

Request samples

Content type
application/json
{
  • "id": 0,
  • "jsonrpc": "2.0",
  • "method": "Filecoin.StateNetworkName",
  • "params": [
    ]
}

Response samples

Content type
application/json
Example
{
  • "id": 0,
  • "jsonrpc": "2.0",
  • "result": "string"
}

StateMinerSectors

Authorizations:
Request Body schema: application/json
id
required
number
jsonrpc
required
string
Value: "2.0"
method
required
string
Value: "Filecoin.StateMinerSectors"
required
Array of Address (string) or []byte (string) or TipSetKey (string) 3 items

Responses

Request samples

Content type
application/json
{
  • "id": 0,
  • "jsonrpc": "2.0",
  • "method": "Filecoin.StateMinerSectors",
  • "params": [
    ]
}

Response samples

Content type
application/json
Example
{
  • "id": 0,
  • "jsonrpc": "2.0",
  • "result": [
    ]
}

StateMinerPower

Authorizations:
Request Body schema: application/json
id
required
number
jsonrpc
required
string
Value: "2.0"
method
required
string
Value: "Filecoin.StateMinerPower"
required
Array of Address (string) or TipSetKey (string) 2 items

Responses

Request samples

Content type
application/json
{
  • "id": 0,
  • "jsonrpc": "2.0",
  • "method": "Filecoin.StateMinerPower",
  • "params": [
    ]
}

Response samples

Content type
application/json
Example
{
  • "id": 0,
  • "jsonrpc": "2.0",
  • "result": {
    }
}

StateMinerInfo

Authorizations:
Request Body schema: application/json
id
required
number
jsonrpc
required
string
Value: "2.0"
method
required
string
Value: "Filecoin.StateMinerInfo"
required
Array of Address (string) or TipSetKey (string) 2 items

Responses

Request samples

Content type
application/json
{
  • "id": 0,
  • "jsonrpc": "2.0",
  • "method": "Filecoin.StateMinerInfo",
  • "params": [
    ]
}

Response samples

Content type
application/json
Example
{
  • "id": 0,
  • "jsonrpc": "2.0",
  • "result": {
    }
}

StateMinerFaults

Authorizations:
Request Body schema: application/json
id
required
number
jsonrpc
required
string
Value: "2.0"
method
required
string
Value: "Filecoin.StateMinerFaults"
required
Array of Address (string) or TipSetKey (string) 2 items

Responses

Request samples

Content type
application/json
{
  • "id": 0,
  • "jsonrpc": "2.0",
  • "method": "Filecoin.StateMinerFaults",
  • "params": [
    ]
}

Response samples

Content type
application/json
Example
{
  • "id": 0,
  • "jsonrpc": "2.0",
  • "result": "string"
}

StateSearchMsg

Authorizations:
Request Body schema: application/json
id
required
number
jsonrpc
required
string
Value: "2.0"
method
required
string
Value: "Filecoin.StateSearchMsg"
required
Array of []byte (string) 1 items

Responses

Request samples

Content type
application/json
{
  • "id": 0,
  • "jsonrpc": "2.0",
  • "method": "Filecoin.StateSearchMsg",
  • "params": [
    ]
}

Response samples

Content type
application/json
Example
{
  • "id": 0,
  • "jsonrpc": "2.0",
  • "result": {
    }
}

StateWaitMsg

message arrives on chain, and gets to the indicated confidence depth.

Authorizations:
Request Body schema: application/json
id
required
number
jsonrpc
required
string
Value: "2.0"
method
required
string
Value: "Filecoin.StateWaitMsg"
required
Array of []byte (string) or uint64 (integer) 2 items

Responses

Request samples

Content type
application/json
{
  • "id": 0,
  • "jsonrpc": "2.0",
  • "method": "Filecoin.StateWaitMsg",
  • "params": [
    ]
}

Response samples

Content type
application/json
Example
{
  • "id": 0,
  • "jsonrpc": "2.0",
  • "result": {
    }
}

StateListMiners

Authorizations:
Request Body schema: application/json
id
required
number
jsonrpc
required
string
Value: "2.0"
method
required
string
Value: "Filecoin.StateListMiners"
required
Array of TipSetKey (string) 1 items

Responses

Request samples

Content type
application/json
{
  • "id": 0,
  • "jsonrpc": "2.0",
  • "method": "Filecoin.StateListMiners",
  • "params": [
    ]
}

Response samples

Content type
application/json
Example
{
  • "id": 0,
  • "jsonrpc": "2.0",
  • "result": [
    ]
}

StateListActors

Authorizations:
Request Body schema: application/json
id
required
number
jsonrpc
required
string
Value: "2.0"
method
required
string
Value: "Filecoin.StateListActors"
required
Array of TipSetKey (string) 1 items

Responses

Request samples

Content type
application/json
{
  • "id": 0,
  • "jsonrpc": "2.0",
  • "method": "Filecoin.StateListActors",
  • "params": [
    ]
}

Response samples

Content type
application/json
Example
{
  • "id": 0,
  • "jsonrpc": "2.0",
  • "result": [
    ]
}

StateMarketBalance

Authorizations:
Request Body schema: application/json
id
required
number
jsonrpc
required
string
Value: "2.0"
method
required
string
Value: "Filecoin.StateMarketBalance"
required
Array of Address (string) or TipSetKey (string) 2 items

Responses

Request samples

Content type
application/json
{
  • "id": 0,
  • "jsonrpc": "2.0",
  • "method": "Filecoin.StateMarketBalance",
  • "params": [
    ]
}

Response samples

Content type
application/json
Example
{
  • "id": 0,
  • "jsonrpc": "2.0",
  • "result": {
    }
}

StateMarketParticipants

Authorizations:
Request Body schema: application/json
id
required
number
jsonrpc
required
string
Value: "2.0"
method
required
string
Value: "Filecoin.StateMarketParticipants"
required
Array of TipSetKey (string) 1 items

Responses

Request samples

Content type
application/json
{
  • "id": 0,
  • "jsonrpc": "2.0",
  • "method": "Filecoin.StateMarketParticipants",
  • "params": [
    ]
}

Response samples

Content type
application/json
Example
{
  • "id": 0,
  • "jsonrpc": "2.0",
  • "result": {
    }
}

StateMarketDeals

Authorizations:
Request Body schema: application/json
id
required
number
jsonrpc
required
string
Value: "2.0"
method
required
string
Value: "Filecoin.StateMarketDeals"
required
Array of TipSetKey (string) 1 items

Responses

Request samples

Content type
application/json
{
  • "id": 0,
  • "jsonrpc": "2.0",
  • "method": "Filecoin.StateMarketDeals",
  • "params": [
    ]
}

Response samples

Content type
application/json
Example
{
  • "id": 0,
  • "jsonrpc": "2.0",
  • "result": {
    }
}

StateMarketStorageDeal

Authorizations:
Request Body schema: application/json
id
required
number
jsonrpc
required
string
Value: "2.0"
method
required
string
Value: "Filecoin.StateMarketStorageDeal"
required
Array of DealID (integer) or TipSetKey (string) 2 items

Responses

Request samples

Content type
application/json
{
  • "id": 0,
  • "jsonrpc": "2.0",
  • "method": "Filecoin.StateMarketStorageDeal",
  • "params": [
    ]
}

Response samples

Content type
application/json
Example
{
  • "id": 0,
  • "jsonrpc": "2.0",
  • "result": {
    }
}

StateLookupID

Authorizations:
Request Body schema: application/json
id
required
number
jsonrpc
required
string
Value: "2.0"
method
required
string
Value: "Filecoin.StateLookupID"
required
Array of Address (string) or TipSetKey (string) 2 items

Responses

Request samples

Content type
application/json
{
  • "id": 0,
  • "jsonrpc": "2.0",
  • "method": "Filecoin.StateLookupID",
  • "params": [
    ]
}

Response samples

Content type
application/json
Example
{
  • "id": 0,
  • "jsonrpc": "2.0",
  • "result": "string"
}

StateAccountKey

Authorizations:
Request Body schema: application/json
id
required
number
jsonrpc
required
string
Value: "2.0"
method
required
string
Value: "Filecoin.StateAccountKey"
required
Array of Address (string) or TipSetKey (string) 2 items

Responses

Request samples

Content type
application/json
{
  • "id": 0,
  • "jsonrpc": "2.0",
  • "method": "Filecoin.StateAccountKey",
  • "params": [
    ]
}

Response samples

Content type
application/json
Example
{
  • "id": 0,
  • "jsonrpc": "2.0",
  • "result": "string"
}

StateGetReceipt

Authorizations:
Request Body schema: application/json
id
required
number
jsonrpc
required
string
Value: "2.0"
method
required
string
Value: "Filecoin.StateGetReceipt"
required
Array of []byte (string) or TipSetKey (string) 2 items

Responses

Request samples

Content type
application/json
{
  • "id": 0,
  • "jsonrpc": "2.0",
  • "method": "Filecoin.StateGetReceipt",
  • "params": [
    ]
}

Response samples

Content type
application/json
Example
{
  • "id": 0,
  • "jsonrpc": "2.0",
  • "result": {
    }
}

StateMinerSectorCount

Authorizations:
Request Body schema: application/json
id
required
number
jsonrpc
required
string
Value: "2.0"
method
required
string
Value: "Filecoin.StateMinerSectorCount"
required
Array of Address (string) or TipSetKey (string) 2 items

Responses

Request samples

Content type
application/json
{
  • "id": 0,
  • "jsonrpc": "2.0",
  • "method": "Filecoin.StateMinerSectorCount",
  • "params": [
    ]
}

Response samples

Content type
application/json
Example
{
  • "id": 0,
  • "jsonrpc": "2.0",
  • "result": {
    }
}