Update Required: UTxO RPC Spec v0.18.1
The lucid-evolution-provider currently depends on @utxorpc/spec version 0.17.0. This needs to be updated to 0.18.1 to support the latest spec features.
Current Dependencies
"@utxorpc/sdk": "0.7.0",
"@utxorpc/spec": "0.17.0"
Required Updates
"@utxorpc/sdk": "^0.8.0", // or latest
"@utxorpc/spec": "^0.18.1"
Breaking Changes in 0.18.1
The following breaking changes need to be addressed:
1. Single TX Submission
SubmitTx changed from repeated tx to single tx. The provider may need updates if it batches transactions.
2. BigInt for Amounts
Many fields now use BigInt instead of numeric types. Check:
result.parsedValued.coin (line 293) - may need BigInt handling
subAsset.outputCoin (line 303) - may need BigInt handling
3. Idle Action in WatchTx
New idle action type in WatchTxResponse for block progress signals (not used by this provider currently).
Current Feature Support
The provider uses @utxorpc/sdk for:
- ✅
QueryClient.readParams() - Protocol parameters
- ✅
QueryClient.searchUtxosByAddress() - UTxO queries
- ✅
QueryClient.searchUtxosByPaymentPart() - Payment credential queries
- ✅
QueryClient.searchUtxosByDelegationPart() - Delegation credential queries
- ✅
QueryClient.searchUtxosByAddressWithAsset() - UTxO with asset queries
- ✅
QueryClient.searchUtxosByPaymentPartWithAsset() - Payment + asset queries
- ✅
QueryClient.searchUtxosByDelegationPartWithAsset() - Delegation + asset queries
- ✅
QueryClient.searchUtxosByAsset() - Asset queries
- ✅
QueryClient.readUtxosByOutputRef() - Resolve UTxOs
- ✅
SubmitClient.submitTx() - Transaction submission
- ✅
SubmitClient.waitForTx() - Await confirmation
- ✅
SubmitClient.evalTx() - Transaction evaluation
Not Implemented
- ❌
getDelegation() - throws "Method not implemented"
- ❌
getDatum() - throws "Method not implemented"
Action Items
- Update
@utxorpc/spec to ^0.18.1
- Update
@utxorpc/sdk to latest version
- Test BigInt handling for coin/asset amounts
- Verify transaction submission still works with single-tx API
- Consider implementing
getDatum() using QueryClient.readData() when available in SDK
Update Required: UTxO RPC Spec v0.18.1
The lucid-evolution-provider currently depends on
@utxorpc/specversion0.17.0. This needs to be updated to0.18.1to support the latest spec features.Current Dependencies
Required Updates
Breaking Changes in 0.18.1
The following breaking changes need to be addressed:
1. Single TX Submission
SubmitTxchanged from repeated tx to single tx. The provider may need updates if it batches transactions.2. BigInt for Amounts
Many fields now use BigInt instead of numeric types. Check:
result.parsedValued.coin(line 293) - may need BigInt handlingsubAsset.outputCoin(line 303) - may need BigInt handling3. Idle Action in WatchTx
New
idleaction type in WatchTxResponse for block progress signals (not used by this provider currently).Current Feature Support
The provider uses
@utxorpc/sdkfor:QueryClient.readParams()- Protocol parametersQueryClient.searchUtxosByAddress()- UTxO queriesQueryClient.searchUtxosByPaymentPart()- Payment credential queriesQueryClient.searchUtxosByDelegationPart()- Delegation credential queriesQueryClient.searchUtxosByAddressWithAsset()- UTxO with asset queriesQueryClient.searchUtxosByPaymentPartWithAsset()- Payment + asset queriesQueryClient.searchUtxosByDelegationPartWithAsset()- Delegation + asset queriesQueryClient.searchUtxosByAsset()- Asset queriesQueryClient.readUtxosByOutputRef()- Resolve UTxOsSubmitClient.submitTx()- Transaction submissionSubmitClient.waitForTx()- Await confirmationSubmitClient.evalTx()- Transaction evaluationNot Implemented
getDelegation()- throws "Method not implemented"getDatum()- throws "Method not implemented"Action Items
@utxorpc/specto^0.18.1@utxorpc/sdkto latest versiongetDatum()usingQueryClient.readData()when available in SDK