marlowe-ts-sdk
marlowe-ts-sdk copied to clipboard
Pagination Fully Controllable For Collection Endpoints
Currently the only way of creating a TransactionRange is through the pagination links provided by the backend, but when I talked with @Jamie Bertram he mentioned it is intended to be constructed by the user.
Link to relevant code https://github.com/input-output-hk/marlowe-ts-sdk/blob/f069ff96a5f5e357838071e83b3b9cb7e04e8ab3/packages/runtime/client/rest/src/contract/transaction/endpoints/collection.ts#L32
Currently the only way of creating a ContractRange is through the pagination links provided by the backend, but when I talked with he mentioned it is intended to be constructed by the user.
Link to relevant code https://github.com/input-output-hk/marlowe-ts-sdk/blob/f069ff96a5f5e357838071e83b3b9cb7e04e8ab3/packages/runtime/client/rest/src/contract/endpoints/collection.ts#L41