Reference / Modules / client / SponsorshipApi
Class: SponsorshipApi
client.SponsorshipApi
Table of contents
Constructors
Properties
Methods
Constructors
constructor
• new SponsorshipApi(args
): SponsorshipApi
Parameters
Name | Type |
---|---|
args | Object |
args.api | LogionNodeApiClass |
args.signerId | ValidAccountId |
Returns
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
▸ sponsor(args
): Promise
<void
>
Parameters
Name | Type |
---|---|
args | Object |
args.callback? | SignCallback |
args.legalOfficer | LegalOfficer |
args.signer | Signer |
args.sponsoredAccount | OtherAccountId |
args.sponsorshipId | UUID |
Returns
Promise
<void
>
Defined in
packages/client/src/Sponsorship.ts:23
withdraw
▸ withdraw(args
): Promise
<void
>
Parameters
Name | Type |
---|---|
args | Object |
args.callback? | SignCallback |
args.signer | Signer |
args.sponsorshipId | UUID |
Returns
Promise
<void
>