Add a StateDecodeParams method
This commit is contained in:
@@ -140,6 +140,7 @@
|
||||
* [StateCirculatingSupply](#StateCirculatingSupply)
|
||||
* [StateCompute](#StateCompute)
|
||||
* [StateDealProviderCollateralBounds](#StateDealProviderCollateralBounds)
|
||||
* [StateDecodeParams](#StateDecodeParams)
|
||||
* [StateGetActor](#StateGetActor)
|
||||
* [StateGetReceipt](#StateGetReceipt)
|
||||
* [StateListActors](#StateListActors)
|
||||
@@ -3387,6 +3388,31 @@ Response:
|
||||
}
|
||||
```
|
||||
|
||||
### StateDecodeParams
|
||||
StateDecodeParams attempts to decode the provided params, based on the recipient actor address and method number.
|
||||
|
||||
|
||||
Perms: read
|
||||
|
||||
Inputs:
|
||||
```json
|
||||
[
|
||||
"f01234",
|
||||
1,
|
||||
"Ynl0ZSBhcnJheQ==",
|
||||
[
|
||||
{
|
||||
"/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4"
|
||||
},
|
||||
{
|
||||
"/": "bafy2bzacebp3shtrn43k7g3unredz7fxn4gj533d3o43tqn2p2ipxxhrvchve"
|
||||
}
|
||||
]
|
||||
]
|
||||
```
|
||||
|
||||
Response: `{}`
|
||||
|
||||
### StateGetActor
|
||||
StateGetActor returns the indicated actor's nonce and balance.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user