New answers tagged utxo
0
votes
Accepted
Is there a way to find the price of an asset from the JSON object of a transaction received from a Blockfrost webhook?
The price of the asset is stored within the datum of the order itself by the jpg.store contract.
Let's take the transaction 8698d938588ca9a93663cb1a9e4478390f374873970ced6d46ae9c4e6ac88723 for example....
- 6,990
0
votes
Accepted
How can I build a transaction to register a stake pool using Cardano Serialization Lib?
This is the code to build a transaction to register a Stake Pool using cardano-serialization-lib:
export const submitRegistrationTransaction = async (
mnemonic,
poolCertificate
) => {
//...
- 887
0
votes
Accepted
How to convert UTxOs from Graphql to Cardano Serialization lib format?
This is the function I use to convert the UTxOs from graphql to TransactionUnspentOutputs:
async function getUTxOs(address: string) {
const url = `https://d.graphql-api.${process.env.ENVIRONMENT}....
- 887
0
votes
Accepted
How can I build a transaction to send different assets (not just ada) using Cardano Serialization Lib?
This is how you build a multi-token transaction using cardano-serialization-lib:
export async function buildMultiAssetTx(
fromAddress: string,
toAddress: string,
policy: string,
assetName: ...
- 887
Top 50 recent answers are included
Related Tags
utxo × 72transaction × 15
plutus × 11
smart-contract × 11
cardano-cli × 10
cardano-serialization-lib × 8
nft × 7
plutus-pioneer-program × 6
eutxo × 6
wallet × 5
script-addresses × 5
native-assets × 4
script × 4
output × 4
datum × 4
ada × 3
cardano-db-sync × 3
staking × 2
blockfrost × 2
multisig × 2
on-chain × 2
tx × 2
validation × 2
nami-wallet × 2
minadatxout × 2