Home Reference Source

Typedef

Static Public Summary
public

Information describing an account

public

A condition that can unlock a payment

public

Represents a payment to a given public key

public

Represents a condition that is met by executing a applySignature() transaction

public

Possible signature status values

public

Represents a condition that is met by executing a applyTimestamp() transaction

public

List of Transaction object fields that may be initialized at construction

public
public

List of TransactionInstruction object fields that may be initialized at construction

public

Static Public

public AccountInfo: Object source

Information describing an account

Properties:

NameTypeAttributeDescription
tokens number

Number of tokens assigned to the account

owner PublicKey

Identifier of the program that owns the account

userdata Buffer
  • nullable: true

Optional userdata assigned to the account

loader PublicKey

Identifier of the loader for this account

executable boolean

true if this account's userdata contains a loaded program

public BudgetCondition: SignatureCondition | TimestampCondition source

A condition that can unlock a payment

public Payment: Object source

Represents a payment to a given public key

Properties:

NameTypeAttributeDescription
amount number

Number of tokens

to PublicKey

Public key of the recipient

public SignatureCondition: Object source

Represents a condition that is met by executing a applySignature() transaction

Properties:

NameTypeAttributeDescription
type string

Must equal the string 'timestamp'

from PublicKey

Public key from which applySignature() will be accepted from

public SignatureStatus: string source

Possible signature status values

public TimestampCondition: Object source

Represents a condition that is met by executing a applyTimestamp() transaction

Properties:

NameTypeAttributeDescription
type string

Must equal the string 'timestamp'

from PublicKey

Public key from which applyTimestamp() will be accepted from

when Date

The timestamp that was observed

public TransactionCtorFields: Object source

List of Transaction object fields that may be initialized at construction

Properties:

NameTypeAttributeDescription
fee number
  • nullable: true

public TransactionId: string source

public TransactionInstructionCtorFields: Object source

List of TransactionInstruction object fields that may be initialized at construction

Properties:

NameTypeAttributeDescription
keys Array<PublicKey>
  • nullable: true
programId PublicKey
  • nullable: true
userdata Buffer
  • nullable: true

public TransactionSignature: string source