@getpara/react-sdk, @getpara/react-sdk-lite or @getpara/react-native-wallet. Each action takes a Para client first, then the positional arguments of the Para client method of the same name, and returns the same promise. Actions work outside React components, but the client you pass must meet the method’s access rules.
Errors
An action rejects with the error its client method throws, described on each method page. An undefined client fails withno para instance before any request. Permissions errors lists every server error.
Policy discovery
Read active policy definitions for your app or for a wallet of the signed-in user.listPolicies
Lists your app's active policies that do not target specific users or wallets.
getPolicy
Reads the active version of a policy that does not target specific users or wallets.
listApplicablePolicies
Lists the active policies that apply to a wallet of the signed-in user.
getApplicablePolicy
Reads one active policy that applies to a wallet of the signed-in user.
Consent
Read a wallet’s consent state or build the Portal link where its owner reviews a Request.listUserPolicyConsents
Lists the consent requests for a wallet of the signed-in user, with the status of each.
getUserPolicyConsent
Reads the consent status of one policy for a wallet of the signed-in user.
getPolicyConsentUrl
Builds the Portal URL where the signed-in user reviews a policy and consents to it.
Adjustable parameters
Read, save or reset the signed-in user’s personal parameter values, and inspect their saved history.listUserAdjustablePolicies
Lists the policies whose parameters the signed-in user can adjust, with the user's current values.
getUserPolicyParameters
Reads the signed-in user's values for one policy's adjustable parameters, with the declarations and current revision.
updateUserPolicyParameters
Saves the signed-in user's values for a policy's adjustable parameters.
resetUserPolicyParameters
Restores the policy defaults as the signed-in user's values for its adjustable parameters.
listUserPolicyParameterHistory
Lists the saved revisions of the signed-in user's values for one policy, newest first.
Approval configuration
Find configurable requirements, read their settings and update or reset them for an authorization scope.listConfigurableApprovalRequirements
Lists the approval requirements the signed-in user can configure in an authorization scope.
getConfigurableApprovalRequirement
Reads one approval requirement the signed-in user can configure, in a specific policy version.
getApprovalConfiguration
Reads the stored settings and revision for an approval requirement in an authorization scope.
getEffectiveApprovalConfiguration
Reads an approval requirement with the stored settings for an authorization scope applied.
updateApprovalConfiguration
Saves new values for an approval requirement's configurable settings in an authorization scope.
resetApprovalConfiguration
Clears the stored settings for an approval requirement so the authored defaults apply again.
listApprovalConfigurationHistory
Lists every stored revision of an approval requirement's settings in an authorization scope, newest first.
Roles and scopes
Read the signed-in user’s assignments and the requirements they can configure in a scope.getUserApprovalAssignments
Reads the signed-in user's roles and attributes in an authorization scope.
getUserApprovalCapabilities
Lists the approval requirements the signed-in user can configure in an authorization scope.
Approval cases
Read cases the user can review or initiated, record eligible decisions, cancel a pending case or open its Portal review.listAccessibleApprovalCases
Lists the approval cases the signed-in user can review, and the signature collections they started.
getAccessibleApprovalCase
Reads an approval case the signed-in user can review, with the user's decision options.
listInitiatedApprovalCases
Lists the approval cases for requests the signed-in user started, newest first.
getInitiatedApprovalCase
Reads an approval case for a request the signed-in user started.
approveApprovalCase
Records the signed-in approver's approval on an approval case.
rejectApprovalCase
Records the signed-in approver's rejection, which ends the approval case.
cancelApprovalCase
Cancels a pending approval case for a request the signed-in user started.
getApprovalCaseReviewUrl
Builds the Portal URL where the signed-in approver reviews an approval case.
Signature collection
Start a collection, read its payload and submit or collect signatures from approvers’ wallets.createApprovalSignatureCollection
Opens an approval case that collects approvers' signatures for a transaction.
getApprovalSigningPayload
Reads what the signed-in approver signs in the current stage of a signature collection.
submitApprovalSignature
Submits the signed-in approver's signature to a signature collection.
getApprovalSignatures
Reads the collected signatures once a signature collection is complete.
signApprovalTransaction
Signs a signature collection's payload with one of the signed-in approver's wallets and submits the signature.
Usage
Read the current spend meters for a policy and the selected wallet, network and asset.getUserPolicyUsage
Reads the current spend usage of a policy for a wallet of the signed-in user.