-
Notifications
You must be signed in to change notification settings - Fork 2
feat: add type_hash to rgbpp assets routes #184
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
@@ -91,5 +91,6 @@ export const XUDTBalance = z.object({ | |||
available_amount: z.string(), | |||
pending_amount: z.string(), | |||
type_hash: z.string(), | |||
type_script: Script, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Another case issue is the Script is in camelCase where this type is in snake_case: https://github.com/ckb-cell/btc-assets-api/blob/f686bc1ab05719fc9942ecd01f1c1e645138cf9d/src/routes/rgbpp/types.ts#L3-L7
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- tracked in V2 API Checklist #185
Changes
type_script
field to/rgbpp/v1/address/:btc_address/balance
responsetype_hash
field to/rgbpp/v1/assets
routes response