Optional
baseOptional
fetch?: FetchFnAn optional custom fetch function to override default behaviors
Optional
network?: StacksNetwork | "mainnet" | "testnet" | "devnet" | "mocknet"Stacks network object (defaults to STACKS_MAINNET)
Broadcast a serialized transaction to a Stacks node (which will validate and forward to the network).
The transaction to broadcast
Optional
attachment: string | Uint8ArrayOptional attachment to include with the transaction
a Promise that resolves to a TxBroadcastResult object
Estimate the total transaction fee in microstacks for a Stacks transaction
The transaction to estimate fees for
Optional
estimatedLength: numberOptional argument that provides the endpoint with an estimation of the final length (in bytes) of the transaction, including any post-conditions and signatures
A promise that resolves to an array of FeeEstimate
Fetch a contract's ABI
A promise that resolves to a ClarityAbi if the operation succeeds
Gets the value of a data-var if it exists in the given contract
Get extended account balances
Get BTC reward holders for the an address
BTC or STX address
Optional
options: PaginationOptionsGet paginated BTC stacking rewards total for an address
BTC or STX address
Optional
options: PaginationOptionsGet the total BTC stacking rewards total for an address
BTC or STX address
Get stacks node info
Get stacks node pox info
Generated using TypeDoc
The base API/node URL for the network fetch calls