Skip to content

cardano-web3-js / KupmiosProvider

Class: KupmiosProvider

Implements

Constructors

new KupmiosProvider()

new KupmiosProvider(__namedParameters): KupmiosProvider

Parameters

__namedParameters

__namedParameters.kupoHeaders?: Headers

__namedParameters.kupoUrl: string

__namedParameters.ogmiosHeaders?: Headers

__namedParameters.ogmiosUrl: string

Returns

KupmiosProvider

Defined in

src/provider/kupmios/index.ts:11

Methods

evaluateTx()

evaluateTx(tx): Promise<RedeemerCost[]>

Parameters

tx: string

Returns

Promise<RedeemerCost[]>

Implementation of

T.Provider.evaluateTx

Defined in

src/provider/kupmios/index.ts:157


getDatumByHash()

getDatumByHash(datumHash): Promise<string>

Parameters

datumHash: string

Returns

Promise<string>

Implementation of

T.Provider.getDatumByHash

Defined in

src/provider/kupmios/index.ts:109


getDelegation()

getDelegation(stakingAddress): Promise<AccountDelegation>

Parameters

stakingAddress: string

Returns

Promise<AccountDelegation>

Implementation of

T.Provider.getDelegation

Defined in

src/provider/kupmios/index.ts:134


getProtocolParameters()

getProtocolParameters(): Promise<ProtocolParameters>

Returns

Promise<ProtocolParameters>

Implementation of

T.Provider.getProtocolParameters

Defined in

src/provider/kupmios/index.ts:44


getScriptByHash()

getScriptByHash(scriptHash): Promise<Script>

Parameters

scriptHash: string

Returns

Promise<Script>

Implementation of

T.Provider.getScriptByHash

Defined in

src/provider/kupmios/index.ts:120


getTip()

getTip(): Promise<Tip>

Returns

Promise<Tip>

Implementation of

T.Provider.getTip

Defined in

src/provider/kupmios/index.ts:28


getUtxoByOutputRef()

getUtxoByOutputRef(txHash, index): Promise<Utxo>

Parameters

txHash: string

index: number

Returns

Promise<Utxo>

Implementation of

T.Provider.getUtxoByOutputRef

Defined in

src/provider/kupmios/index.ts:82


getUtxosByAddress()

getUtxosByAddress(address): Promise<Utxo[]>

Parameters

address: string

Returns

Promise<Utxo[]>

Implementation of

T.Provider.getUtxosByAddress

Defined in

src/provider/kupmios/index.ts:78


getUtxosByAddresses()

getUtxosByAddresses(addresses): Promise<Utxo[]>

Parameters

addresses: string[]

Returns

Promise<Utxo[]>

Implementation of

T.Provider.getUtxosByAddresses

Defined in

src/provider/kupmios/index.ts:60


observeTx()

observeTx(txHash, checkInterval, maxTime): Promise<boolean>

Parameters

txHash: string

checkInterval: number = 3000

maxTime: number = ...

Returns

Promise<boolean>

Implementation of

T.Provider.observeTx

Defined in

src/provider/kupmios/index.ts:173


resolveUtxoDatumAndScript()

resolveUtxoDatumAndScript(utxo): Promise<Utxo>

Parameters

utxo: Utxo

Returns

Promise<Utxo>

Implementation of

T.Provider.resolveUtxoDatumAndScript

Defined in

src/provider/kupmios/index.ts:93


resolveUtxosDatumAndScript()

resolveUtxosDatumAndScript(utxos): Promise<Utxo[]>

Parameters

utxos: Utxo[]

Returns

Promise<Utxo[]>

Defined in

src/provider/kupmios/index.ts:101


submitAndObserveTx()

submitAndObserveTx(tx, checkInterval, maxTime): Promise<boolean>

Parameters

tx: string

checkInterval: number = 3000

maxTime: number = ...

Returns

Promise<boolean>

Implementation of

T.Provider.submitAndObserveTx

Defined in

src/provider/kupmios/index.ts:227


submitTx()

submitTx(tx): Promise<string>

Parameters

tx: string

Returns

Promise<string>

Implementation of

T.Provider.submitTx

Defined in

src/provider/kupmios/index.ts:202

Released under the MIT License