Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • PendingApproval

Index

Constructors

constructor

Methods

approvalsRequired

  • approvalsRequired(): number
  • Get the number of approvals that are required for this PendingApproval to be approved. Defaults to 1 if approvalsRequired doesn't exist on the object

    Returns number

approve

cancel

  • cancel(params?: __type, callback?: NodeCallback<any>): Bluebird<any>

creator

  • creator(): string

enterpriseId

  • enterpriseId(): string | undefined

get

id

  • id(): string

info

ownerType

  • Get the owner type (wallet or enterprise) Pending approvals can be approved or modified by different scopes (depending on how they were created) If a pending approval is owned by a wallet, then it can be approved by administrators of the wallet If a pending approval is owned by an enterprise, then it can be approved by administrators of the enterprise

    Returns OwnerType

recreateAndSignTransaction

  • recreateAndSignTransaction(params?: any, callback?: NodeCallback<any>): Bluebird<any>
  • Recreate a transaction for a pending approval to respond to updated network conditions

    Parameters

    • Default value params: any = {}
    • Optional callback: NodeCallback<any>

    Returns Bluebird<any>

reject

  • reject(params?: __type, callback?: NodeCallback<any>): Bluebird<any>

state

type

url

  • url(extra?: string): string
  • Generate a url for this PendingApproval for making requests to the server.

    Parameters

    • Default value extra: string = ""

    Returns string

walletId

  • walletId(): string | undefined

Generated using TypeDoc