imanrjb/fullnode-api

Cryptocurrency nodes API

v0.0.2 2022-02-28 19:53 UTC

This package is auto-updated.

Last update: 2024-10-29 01:30:24 UTC


README

How to install

composer require imanrjb/fullnode-api

Put below parameters in .env file

BTC_ENDPOINT=
ETH_ENDPOINT=
BSC_ENDPOINT=
TRX_ENDPOINT=
SOL_ENDPOINT=
MATIC_ENDPOINT=
DOGE_ENDPOINT=
LTC_ENDPOINT=
BCH_ENDPOINT=
XRP_ENDPOINT=
DOT_ENDPOINT=
ADA_ENDPOINT=
EOS_ENDPOINT=
AVAX_ENDPOINT=
XEM_ENDPOINT=
NEO_ENDPOINT=
XLM_ENDPOINT=
DASH_ENDPOINT=
ZEC_ENDPOINT=
XMR_ENDPOINT=

Request to Json RPC API of getblock.io

$node = new \GetBlockApi\GetBlock\GetBlockRpc('btc');
return $node->getblockhash(1000);

Supported networks: