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

Base 58 encoded public key

public

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

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

Static Public

public AccountInfo: Object source

Information describing an account

Properties:

NameTypeAttributeDescription
tokens number

Number of tokens assigned to the account

programId PublicKey

Identifier of the program assigned to the account

userdata Buffer
  • nullable: true

Optional userdata assigned to the account

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 PublicKey: string source

Base 58 encoded public key

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 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
signature Buffer
  • nullable: true
keys Array<PublicKey>
  • nullable: true
programId PublicKey
  • nullable: true
fee number
  • nullable: true
userdata Buffer
  • nullable: true

public TransactionId: string source

public TransactionSignature: string source