Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Exception in the API to get proof of a Bitcoin transaction from the SPV service #215

Closed
Dawn-githup opened this issue Aug 27, 2024 · 1 comment

Comments

@Dawn-githup
Copy link
Collaborator

Dawn-githup commented Aug 27, 2024

curl --location --request GET 'https://213.assets-api-342ddd42.nip.io/rgbpp/v1/btc-spv/proof?btc_txid=f52e35181e3b1edef0e06bbf2b5fee2a6bd0f628fdb2472146fc87f77155f82a&confirmations=1' \
--header 'Authorization: Bearer ***' \
--header 'origin: https://api.testnet.rgbpp.io' \
--header 'User-Agent: Apifox/1.0.0 (https://apifox.com)' \
--header 'Accept: */*' \
--header 'Host: 213.assets-api-342ddd42.nip.io' \
--header 'Connection: keep-alive'

error:

{
    "code": -32602,
    "message": "Invalid params: invalid type: string \"1\", expected u32."
}
@Dawn-githup Dawn-githup changed the title Get proof of a Bitcoin transaction from SPV service Exception Exception in the API to get proof of a Bitcoin transaction from the SPV service Aug 27, 2024
@Dawn-githup
Copy link
Collaborator Author

#213 (comment)

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants
@Dawn-githup and others