getGasPrice
Returns the current price of gas (in drip).
Usage
import { publicClient } from "./client";
const gasPrice = await publicClient.getGasPrice();import { http, createPublicClient } from 'cive'
import { mainnet } from 'cive/chains'
export const publicClient = createPublicClient({
chain: mainnet,
transport: http(),
})Returns
bigint
The gas price (in drip).