Stellar RPC Methods

node v10.22.1
version: 1.0.0
endpointsharetweet
const Web3Data = require("web3data-js@0.6.1") const w3d = new Web3Data('YOUR_API_KEY') const bestBlockHash = await w3d.xlm.rpc('get_ledgers') // NOTE: Other Supported RPC Methods: // "get_account_data", // "get_account_effects", // "get_account_offers", // "get_account_operations", // "get_account_payments", // "get_account_trades", // "get_account_transactions", // "get_accounts", // "get_assets", // "get_effects", // "get_fee_stats", // "get_ledger", // "get_ledger_effects", // "get_ledger_operations", // "get_ledger_payments", // "get_ledger_transactions", // "get_ledgers", // "get_offer_trades", // "get_operation", // "get_operation_effects", // "get_operations", // "get_order_book", // "get_paths", // "get_payments", // "get_trade_aggregations", // "get_trades", // "get_transaction", // "get_transaction_effects", // "get_transaction_operations", // "get_transaction_payments", // "get_transactions", // "submit_transaction"
Loading…

no comments

    sign in to comment