Closed akshitv1 closed 1 month ago
any update about this issue ?
how to build up register or stake transaction using this lib ?
are there any documents can we refer to ?
i use /proxy/subbmit interface and got the errors as follwoing:
'500 - "{\"code\":\"created_invalid_transaction\",\"message\":\"The submitted transaction was rejected by the local node. Here's an error message that may help with debugging: TxValidationErrorInMode (ShelleyTxValidationError
ShelleyBasedEraAlonzo (ApplyTxError [UtxowFailure (WrappedShelleyEraFailure (UtxoFailure (**ValueNotConservedUTxO**
(Value 19679048 (fromList [])) (Value 9679048 (fromList [])))))])) AlonzoEraInCardanoMode\"}"'
and i estimate the fee like this:
let outputTxFee = txBuilder.fee_for_output(outputTx).to_str(); let currentFee = txBuilder.min_fee().to_str()
any one can help ?
would love some help here as well
According to error a signature for stake delegation is not provided, you need to sign a transaction by stake key.
@bwhour balancing is not correct. If you still have ( I hope not ) , create an issue with code example.
Hi guys, i am trying to create a staking transaction using cardano serialisation library and then use blockfrost/infinito to send the transaction. I am using @emurgo/cardano-serialization-lib-nodejs: ^9.1.4,
Here's my code :
// Error when i use blockfrost :
transaction submit error ShelleyTxValidationError ShelleyBasedEraAlonzo (ApplyTxError [UtxowFailure (WrappedShelleyEraFailure (MissingVKeyWitnessesUTXOW (WitHashes (fromList [KeyHash \"some hash\"])))),DelegsFailure (DelplFailure (DelegFailure (StakeDelegationImpossibleDELEG (KeyHashObj (KeyHash \"somehash\")))))])
//Error when i use infinito : {"type":"jsonwsp/fault","version":"1.0","servicename":"ogmios","fault":{"code":"client","string":"Invalid request: DeserialiseFailure 539 \"Size mismatch when decoding \nRecord RecD.\nExpected 4, but found 3.\"."},"reflection":{"requestId":"XEpib"}} is an unknown result
Maybe i am just creating the transaction in a wrong way or my keys might be messed up.
Open to any help and suggestions
THnaks