msig
Multisig RPC methods
createMultisig
Creates multisig.
Parameters
Parameter | Type | Description |
from | string | The FIL address of the sender |
addresses | string[] | Addresses of the signers. |
amount | BigNumber | The amount of FIL to send |
requiredNumberOfApprovals | number | Required number of approvals |
nonce | number | The nonce of the sender's account |
unlockDuration | number | Duration threshold to unlock |
startEpoch | number | Initial epoch |
codeCID | CodeCID | CID of the Multisig Actor |
privateKey | PrivateKey | Private Key encoded in hex or base64 |
network | Network | mainnet or testnet |
waitMsg | boolean | Boolean indicating whether to wait for the message to confirm or not |
proposeMultisig
Proposes multisig
Parameters
Parameter | Type | Description |
multisigAddress | string | Address of the created multisig |
from | string | Sender's FIL address. |
to | string | Recipient's FIL address |
amount | BigNumber | The amount of FIL to send |
nonce | number | The nonce of the sender's account |
privateKey | PrivateKey | Private Key encoded in hex or base64 |
waitMsg | boolean | Boolean indicating whether to wait for the message to confirm or not |
approveMultisig
Approves multisig.
Parameters
Parameter | Type | Description |
multisigAddress | string | Address of the created multisig |
messageId | number | Id of the transaction |
requester | string | FIL address of requester |
from | string | Sender's FIL address. |
to | string | Recipient's FIL address |
amount | BigNumber | The amount of FIL to send |
nonce | number | The nonce of the sender's account |
privateKey | PrivateKey | Private Key encoded in hex or base64 |
waitMsg | boolean | Boolean indicating whether to wait for the message to confirm or not |
cancelMultisig
Cancels multisig.
Parameters
Parameter | Type | Description |
multisigAddress | string | Address of the created multisig |
messageId | number | Id of the transaction |
requester | string | FIL address of requester |
from | string | Sender's FIL address. |
to | string | Recipient's FIL address |
amount | BigNumber | The amount of FIL to send |
nonce | number | The nonce of the sender's account |
privateKey | PrivateKey | Private Key encoded in hex or base64 |
waitMsg | boolean | Boolean indicating whether to wait for the message to confirm or not |
Last updated