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

constructor

  • 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: Allowance

grantee

grantee: string

granter

granter: string

Methods

packAny

  • packAny(): Any

toAmino

toAminoJSON

  • toAminoJSON(): string
  • Returns string

toData

toJSON

  • toJSON(): string
  • Returns string

toProto

  • toProto(): MsgGrantAllowance

Static fromAmino

Static fromData

Static fromProto

Static unpackAny