Skip to content
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

Add missing fields to GetTransactionStatusResponse #107

Open
aaroncox opened this issue Jul 2, 2024 · 0 comments
Open

Add missing fields to GetTransactionStatusResponse #107

aaroncox opened this issue Jul 2, 2024 · 0 comments

Comments

@aaroncox
Copy link
Member

aaroncox commented Jul 2, 2024

The API response for this call has changed, and the fields need to be matched up again with the new response.

export class GetTransactionStatusResponse extends Struct {
@Struct.field('string') declare state: string
@Struct.field('uint32') declare head_number: UInt32
@Struct.field(BlockId) declare head_id: BlockId
@Struct.field('time_point') declare head_timestamp: TimePoint
@Struct.field('uint32') declare irreversible_number: UInt32
@Struct.field(BlockId) declare irreversible_id: BlockId
@Struct.field('time_point') declare irreversible_timestamp: TimePoint
@Struct.field(BlockId) declare earliest_tracked_block_id: BlockId
@Struct.field('uint32') declare earliest_tracked_block_number: UInt32
}

telegram-cloud-photo-size-1-5186297521478151471-y

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

No branches or pull requests

1 participant