View methods

Mutisig contract provides some view methods which are given below.

  • getRequest

const result = await multisigservice.getRequest({ requestId: 0 });
  • getRequestWithSigner

const result = await multisigservice.getRequestWithSigner({ requestId: 0 });getRequestIdsList
  • getRequestIdsList

const result = await multisigservice.getRequestIdsList();
  • getConfirmations

const result = await multisigservice.getConfirmations({requestId: 0 });
  • getNumOfConfirmations

const result = await multisigservice.getNumOfConfirmations();
  • getNumRequestsPerMember

const member: MultiSigMemberWithAccountId = {
    type: "Account";
    accountId: "<account id>";
}
const result = await multisigservice.getNumRequestsPerMember();
  • getRequestNonce

const result = await multisigservice.getRequestNonce();

Last updated