Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • Transaction
    • AddGatewayV1

Index

Constructors

constructor

  • Parameters

    • opts: AddGatewayOptions

    Returns AddGatewayV1

Properties

Optional fee

fee: number

Optional gateway

gateway: Addressable

Optional gatewaySignature

gatewaySignature: Uint8Array

Optional owner

owner: Addressable

Optional ownerSignature

ownerSignature: Uint8Array

Optional payer

payer: Addressable

Optional payerSignature

payerSignature: Uint8Array

Optional stakingFee

stakingFee: number

Private toProto

toProto: any

type

type: string

Static dcPayloadSize

dcPayloadSize: number

Static stakingFeeTxnAddGatewayV1

stakingFeeTxnAddGatewayV1: number

Static stakingFeeTxnAssertLocationV1

stakingFeeTxnAssertLocationV1: number

Static txnFeeMultiplier

txnFeeMultiplier: number

Methods

calculateFee

  • calculateFee(): number
  • Returns number

message

  • message(): Uint8Array
  • Returns Uint8Array

serialize

  • serialize(): Uint8Array
  • Returns Uint8Array

sign

  • Parameters

    • keypairs: SignOptions

    Returns Promise<AddGatewayV1>

toString

  • toString(): string
  • Returns string

Static calculateFee

  • calculateFee(payload: Uint8Array): number
  • Parameters

    • payload: Uint8Array

    Returns number

Static config

  • config(vars: ChainVars): void
  • Parameters

    • vars: ChainVars

    Returns void

Static fromString

  • Parameters

    • serializedTxnString: string

    Returns AddGatewayV1

Static stringType

  • stringType(serializedTxnString: string): string
  • Parameters

    • serializedTxnString: string

    Returns string

Generated using TypeDoc