UNPKG

@metaplex-foundation/umi-rpc-web3js

Version:

An RPC implementation relying on Solana's web3.js

6 lines (5 loc) 350 B
import { UmiPlugin } from '@metaplex-foundation/umi'; import type { Connection as Web3JsConnection } from '@solana/web3.js'; import { Web3JsRpcOptions } from './createWeb3JsRpc'; export declare function web3JsRpc(endpoint: string, rpcOptions?: Web3JsRpcOptions): UmiPlugin; export declare function web3JsRpc(connection: Web3JsConnection): UmiPlugin;