Skip to content

Add burn height to inscription API#4532

Open
0xjc65eth wants to merge 1 commit into
ordinals:masterfrom
0xjc65eth:add-inscription-burn-height
Open

Add burn height to inscription API#4532
0xjc65eth wants to merge 1 commit into
ordinals:masterfrom
0xjc65eth:add-inscription-burn-height

Conversation

@0xjc65eth

Copy link
Copy Markdown

Expose the block height where a burned inscription was mined by adding burn_height to inscription JSON responses. The field is null for non-burned inscriptions and set from the burn transaction block header when the inscription has the burned charm.

Closes #4431.

Tests:

  • cargo +1.93.0 test get_burned_inscription_includes_burn_height --test integration
  • cargo +1.93.0 test json_api --test integration
  • cargo +1.93.0 fmt -- --check
  • cargo +1.93.0 check
  • git diff --check

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add burn_height field to inscription API

1 participant