Skip to main content

Reference / Modules / client / SponsorshipApi

Class: SponsorshipApi

client.SponsorshipApi

Table of contents

Constructors

Properties

Methods

Constructors

constructor

new SponsorshipApi(args): SponsorshipApi

Parameters

NameType
argsObject
args.apiLogionNodeApiClass
args.signerIdValidAccountId

Returns

SponsorshipApi

Defined in

packages/client/src/Sponsorship.ts:12

Properties

api

Private Readonly api: LogionNodeApiClass

Defined in

packages/client/src/Sponsorship.ts:21


signerId

Private Readonly signerId: ValidAccountId

Defined in

packages/client/src/Sponsorship.ts:20

Methods

sponsor(args): Promise<void>

Parameters

NameType
argsObject
args.callback?SignCallback
args.legalOfficerLegalOfficer
args.signerSigner
args.sponsoredAccountOtherAccountId
args.sponsorshipIdUUID

Returns

Promise<void>

Defined in

packages/client/src/Sponsorship.ts:23


withdraw

withdraw(args): Promise<void>

Parameters

NameType
argsObject
args.callback?SignCallback
args.signerSigner
args.sponsorshipIdUUID

Returns

Promise<void>

Defined in

packages/client/src/Sponsorship.ts:42