Constructors
Properties
Readonly
rpcUrl
rpcUrl: string
Methods
estimateScheduledTransaction
- estimateScheduledTransaction(transaction: string): Promise<RPCResponse<string>>
Returns Promise<RPCResponse<string>>
ethGetTransactionReceipt
- ethGetTransactionReceipt(transaction: string): Promise<any>
Returns Promise<any>
getBlockByNumber
- getBlockByNumber(
block: string,
detail?: boolean,
): Promise<RPCResponse<BlockByNumber>> Parameters
- block: string
- detail: boolean = false
getNeonTransactionByAddress
- getNeonTransactionByAddress(pubkey: PublicKey): Promise<RPCResponse<string>>
Returns Promise<RPCResponse<string>>
getTransactionCount
- getTransactionCount(neonWallet: string): Promise<string>
Returns Promise<string>
getTransactionReceipt
- getTransactionReceipt(transactionHash: string): Promise<RPCResponse<any>>
neonRpc
- neonRpc<T>(method: string, params?: unknown[]): Promise<RPCResponse<T>>
Parameters
- method: string
- params: unknown[] = []
sendRawScheduledTransaction
- sendRawScheduledTransaction(transaction: string): Promise<RPCResponse<string>>
Returns Promise<RPCResponse<string>>
sendRawScheduledTransactions
- sendRawScheduledTransactions(
transactions: string[],
): Promise<RPCResponse<string>[]> Returns Promise<RPCResponse<string>[]>
waitTransactionByHash
- waitTransactionByHash(
signature: string,
duration: number,
delayTimeout?: number,
): Promise<null | TransactionByHash> Parameters
- signature: string
- duration: number
- delayTimeout: number = 300
waitTransactionTreeExecution
- waitTransactionTreeExecution(
address: string,
nonce: number,
duration: number,
delayTimeout?: number,
): Promise<ScheduledTransactionStatus[]> Parameters
- address: string
- nonce: number
- duration: number
- delayTimeout: number = 300