KoiosV0Client
export interface KoiosV0Client {
getUtxo(id: TxOutputId): Promise<TxInput>
getUtxos(addr: Address): Promise<TxInput[]>
hasUtxo(utxoId: TxOutputId): Promise<boolean>
isMainnet(): boolean
networkName: NetworkName
now: number
parameters: Promise<NetworkParams>
submitTx(tx: Tx): Promise<TxId>
}
Koios network interface.
Properties
getUtxo
getUtxo(id: TxOutputId): Promise<TxInput>
getUtxos
getUtxos(addr: Address): Promise<TxInput[]>
hasUtxo
hasUtxo(utxoId: TxOutputId): Promise<boolean>
isMainnet
isMainnet(): boolean
networkName
networkName: NetworkName
now
now: number
parameters
parameters: Promise<NetworkParams>
submitTx
submitTx(tx: Tx): Promise<TxId>