Docs
This commit is contained in:
@ -135,6 +135,11 @@ const SendTokensRpcResult = struct({
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Information describing an account
|
* Information describing an account
|
||||||
|
*
|
||||||
|
* @typedef {Object} AccountInfo
|
||||||
|
* @property {number} tokens Number of tokens assigned to the account
|
||||||
|
* @property {PublicKey} programId Identifier of the program assigned to the account
|
||||||
|
* @property {?Buffer} userdata Optional userdata assigned to the account
|
||||||
*/
|
*/
|
||||||
type AccountInfo = {
|
type AccountInfo = {
|
||||||
tokens: number,
|
tokens: number,
|
||||||
|
@ -18,6 +18,13 @@ export type TransactionId = string;
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* List of Transaction object fields that may be initialized at construction
|
* List of Transaction object fields that may be initialized at construction
|
||||||
|
*
|
||||||
|
* @typedef {Object} TransactionCtorFields
|
||||||
|
* @property {?Buffer} signature
|
||||||
|
* @property {?Array<PublicKey>} keys
|
||||||
|
* @property {?PublicKey} programId
|
||||||
|
* @property {?number} fee
|
||||||
|
* @property {?Buffer} userdata
|
||||||
*/
|
*/
|
||||||
type TransactionCtorFields = {|
|
type TransactionCtorFields = {|
|
||||||
signature?: Buffer;
|
signature?: Buffer;
|
||||||
|
Reference in New Issue
Block a user