import { MoneroDaemonRPC } from "https://deno.land/x/monero_rpc@v1.0.3/mod.ts";
Methods
get_bans()
get_block(height?: number, hash?: number)
get_block_header_by_hash(hash: number)
get_block_header_by_height(height: number)
get_block_headers_range(start_height: number, end_height: number)
get_block_template(wallet_address: string, reserve_size: number)
get_coinbase_tx_sum(height: number, count: number)
get_fee_estimate(grace_blocks?: number)
get_info()
get_output_distribution()
amounts: Array<number>,
cumulative?: number,
from_height?: number,
to_height?: number,
get_output_histogram()
amounts: Array<number>,
min_count: number,
max_count: number,
unlocked: number,
recent_cutoff: number,
on_get_block_hash(height: Array<number>)
relay_tx(txids: Array<string>)
request()
method: string,
paramVars: any[],
paramNames: any[],
Make a request to the Monero JSON RPC.
set_bans(bans: Array<{ host: string; ip: number; ban: boolean; seconds: number; }>)
submit_block(blob: Array<string>)