Docs
This commit is contained in:
parent
7148b0f7d8
commit
914c54e071
|
@ -135,6 +135,11 @@ const SendTokensRpcResult = struct({
|
|||
|
||||
/**
|
||||
* 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 = {
|
||||
tokens: number,
|
||||
|
|
|
@ -18,6 +18,13 @@ export type TransactionId = string;
|
|||
|
||||
/**
|
||||
* 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 = {|
|
||||
signature?: Buffer;
|
||||
|
|
Loading…
Reference in New Issue