Skip to content

feat: bring client up to date with JSON-RPC API Release 4 - #1

Merged
sgade merged 1 commit into
mainfrom
feature/full-api
Aug 4, 2026
Merged

feat: bring client up to date with JSON-RPC API Release 4#1
sgade merged 1 commit into
mainfrom
feature/full-api

Conversation

@sgade

@sgade sgade commented Aug 4, 2026

Copy link
Copy Markdown
Owner

Basic API: add the missing generateIntegerSequences method, add replacement/pregeneratedRandomization/format optional parameters to every generate method via backward-compatible variadic MethodOptions structs, and enforce the n*size aggregate limit on generateBlobs that was previously unchecked.

Add the Signed API (signed.go): all seven generateSigned* methods (plus ...WithBase variants for non-decimal integer bases), GetResult, and VerifySignature, returning a generic SignedResult[T] with signature, cost, license and usage metadata.

Add the ticket lifecycle (tickets.go): CreateTickets, RevealTickets, ListTickets, GetTicket, and DecodeTicketResult.

Extend the test suite with signed_test.go and tickets_test.go, built from the literal JSON examples published in the API docs, and add a runnable example for every exported method in example_test.go.

Basic API: add the missing generateIntegerSequences method, add
replacement/pregeneratedRandomization/format optional parameters to every
generate method via backward-compatible variadic MethodOptions structs, and
enforce the n*size aggregate limit on generateBlobs that was previously
unchecked.

Add the Signed API (signed.go): all seven generateSigned* methods (plus
...WithBase variants for non-decimal integer bases), GetResult, and
VerifySignature, returning a generic SignedResult[T] with signature, cost,
license and usage metadata.

Add the ticket lifecycle (tickets.go): CreateTickets, RevealTickets,
ListTickets, GetTicket, and DecodeTicketResult.

Extend the test suite with signed_test.go and tickets_test.go, built from
the literal JSON examples published in the API docs, and add a runnable
example for every exported method in example_test.go.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
@sgade sgade self-assigned this Aug 4, 2026
@sgade
sgade merged commit c8ecef2 into main Aug 4, 2026
1 check passed
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.

1 participant