Options
All
  • Public
  • Public/Protected
  • All
Menu

Class CreateAccountOperation

Structure representing a Stellar Create Account Operation.

Hierarchy

  • Operation<Horizon.OperationResponseType.createAccount, Horizon.OperationResponseTypeI.createAccount>
    • CreateAccountOperation

Index

Constructors

constructor

Properties

Readonly client

client: Client

createdAt

createdAt: Date

The operation's creation date.

createdTimestamp

createdTimestamp: number

The operation's creation timestamp.

funderId

funderId: string

The account that funds the new account.

id

id: string

The id of the operation.

newAccountId

newAccountId: string

The new account that is funded.

pagingToken

pagingToken: string

A cursor value for use in pagination.

sourceAccountId

sourceAccountId: string

The account that originates the operation.

startingBalance

startingBalance: number

The amount of Pi to send to the newly created account.

transactionHash

transactionHash: string

A unique id for the transaction the operation belongs to.

type

type: createAccount

The numeric type of the operation.

typeName

typeName: createAccount

The name of the operation type.

Methods

$patch

  • $patch(data: CreateAccountOperationRecord): void

getEffects

getFunderAccount

  • getFunderAccount(forceUpdate?: boolean): Promise<Account>

getNewAccount

  • getNewAccount(forceUpdate?: boolean): Promise<Account>

getSourceAccount

  • getSourceAccount(forceUpdate?: boolean): Promise<Account>

getTransaction

  • getTransaction(forceUpdate?: boolean): Promise<Transaction>

Generated using TypeDoc