Options
All
  • Public
  • Public/Protected
  • All
Menu

Class MsgGrantAllowance

MsgGrantAllowance adds permission for Grantee to spend up to Allowance of fees from the account of Granter.

Hierarchy

Index

Constructors

  • new MsgGrantAllowance(granter: string, grantee: string, allowance: Allowance): MsgGrantAllowance
  • Parameters

    • granter: string

      granter's account address

    • grantee: string

      grantee's account address

    • allowance: Allowance

      allowance willing to grant

    Returns MsgGrantAllowance

Properties

allowance: Allowance
grantee: string
granter: string

Methods

  • packAny(isClassic?: boolean): Any
  • toAminoJSON(isClassic?: boolean): string
  • Parameters

    • Optional isClassic: boolean

    Returns string

  • toJSON(isClassic?: boolean): string
  • Parameters

    • Optional isClassic: boolean

    Returns string

  • toProto(isClassic?: boolean): MsgGrantAllowance