Documentation Index
Fetch the complete documentation index at: https://docs.oumla.com/llms.txt
Use this file to discover all available pages before exploring further.
Added
- Get Address by ID: New
client.addresses.getAddressById({ id })method to fetch a single address by its UUID - New request type
GetAddressByIdRequestand response typeGetAddressByIdResponseBodyDto
Changed
client.wallets.createWallet(...)response now includes anid: string(UUID) field onCreateWalletDataDto, allowing callers to reference the newly created wallet directly
Added
- Enabled Networks Endpoint: New
networks.getEnabledNetworks()endpoint (GET /api/v1/network/enabled) returning the global catalog of enabled networks (networkId,name,alias) for any authenticated user - New types:
EnabledNetworkItemDto,GetEnabledNetworksResponseDto - Gasless Network Support:
isGasless: booleanadded to network responses (OrgNetworkItemDto, network update payloads) — indicates whether the network sponsors gas fees
Changed
- Token Issuance is now Asynchronous:
tokenization.issueNewToken()request body is unchanged; the response is now a workflow handle (IssueTokenWorkflowResponseDto) containingworkflowId,operationId,status, andmessage, served with HTTP202 Accepted. Poll the workflow resource with the returnedworkflowIdto observe completion and retrieve issued tokens - New 400 error code
ERR-146(“Contract deployment is still in progress.”) surfaced onissueNewToken() - Removed
pathfield from address and wallet responses: the derivationpathfield has been dropped fromAddressDataDto,CreateWalletDataDto, andWalletDataDto— request shapes are unchanged
Removed
IssueTokenResponseDto(superseded byIssueTokenWorkflowResponseDto)
Fixed
- Improved field-level documentation and formats (
uuid, descriptions, examples) on address and wallet DTOs — no runtime shape changes
Added
- Dynamic Network Support: API responses now return dynamic network entities instead of hardcoded network strings. Networks are globally managed objects that can be assigned per organization
- Networks Resource: New
networksresource withgetNetworks()endpoint for listing available networks - Contract Deployment: Improved contract deployment workflow with better parameter handling and execution reliability
Changed
-
⚠️ Breaking — Resource Renames:
portfolioresource renamed toassets— update allclient.portfolio.*calls toclient.assets.*withdrawalsresource renamed towithdraw— update allclient.withdrawals.*calls toclient.withdraw.*
-
⚠️ Breaking — Request / Response Type Renames: All request and response types have been renamed to match the server-side DTO naming convention:
Old Name New Name CreateWalletRequestCreateWalletRequestBodyDtoCreateProfileRequestCreateProfileRequestBodyDtoCreateCollectionRequestCreateCollectionBodyDtoCreateContractRequestCreateContractRequestBodyDtoDeployContractRequestDeployContractRequestBodyDtoAddContractAbiRequestAddContractAbiRequestBodyDtoFetchContractAbiRequestFetchContractAbiRequestBodyDtoReadCallFunctionRequestReadCallFunctionBodyWriteCallFunctionRequestWriteCallFunctionBodyBurnTokenRequestBurnTokenBodyDtoIssueNewTokenRequestIssueNewTokenRequestBodyLinkContractRequestLinkContractBodyDtoMintTokenRequestMintTokenBodyDtoCreateWithdrawRequestCreateWithdrawRequestBodyDtoWalletDataWalletDataDtoAssetDataAssetItemDtoAddressDataAddressDataDtoNativeBalanceDataNativeBalanceItemDtoTokenDataTokenResponseDtoTransactionDataTransactionItemDtoCollectionDataCollectionItemDtoCollectionTokenDataCollectionTokenDetailDtoDeployedContractDataDeployedContractItemDtoContractTemplateDataContractTemplateItemDtoPaginationAddressListPaginationDto -
⚠️ Breaking — Network Architecture:
- Removed the
networkattribute from all database-backed models - API responses that previously returned a
networkstring now return dynamic network entities - Any code reading the
networkstring directly from API responses must be updated
- Removed the
-
⚠️ Breaking — Removed Error Classes: the following error classes have been removed. Catch
OumlaSdkApiErrordirectly for these status codes if needed:BadGatewayError(502)GatewayTimeoutError(504)ServiceUnavailableError(503)UnprocessableEntityError(422)
-
Error Handling: error response bodies are now loosely typed (
unknown) for forward compatibility - Request Validation: standardized Joi schema configuration and improved request validation across all API endpoints
Fixed
- Updated address generation endpoint to the correct API version with improved error handling
- Added validation for
initializeParamsin theissue-new-tokenoperation
Added
- Enhanced Error Handling: comprehensive error types for finer-grained error handling:
BadGatewayError(502)ConflictError(409)ForbiddenError(403)GatewayTimeoutError(504)InternalServerError(500)ServiceUnavailableError(503)UnauthorizedError(401)UnprocessableEntityError(422)
- All existing endpoints now include appropriate error codes in their documentation and error handling
- Portfolio Resource:
getNativeBalance()— get native balance for network, address, or wallet
Changed
- Renamed
assetsresource toportfoliofor better semantic clarity - Enhanced error handling across all endpoints with appropriate HTTP status code mappings
- Improved type definitions with new response types for all endpoints
readFunction()renamed toreadCallFunction()in contract interactionswriteFunction()renamed towriteCallFunction()in contract interactionsgetTransactionsByWallet()renamed togetTransactionsByMiniWallet()in transactionscreateWithdrawal()renamed tocreateWithdraw()in withdrawals
Changed
- Use
OumlaSdkApiEnvironment.Mainnetinstead ofOumlaSdkApiEnvironment.Productionin examples - Updated README examples to use the Mainnet environment
Changed
- Renamed environment from
ProductiontoMainnetfor better clarity - Use
OumlaSdkApiEnvironment.Mainnetinstead ofOumlaSdkApiEnvironment.Production
Fixed
- Updated README.md code examples to use correct
generateAddressV2method name
Fixed
- Updated README.md to use correct
generateAddressV2method name in code example
Added
- Temporal Workflow Status: Track async workflow status with
getTemporalWorkflowStatus() - Generate Address V2: Enhanced address generation using V2 API endpoint
- Collection Management: New endpoints for
getCollection(),deleteCollection(),getCollectionTokenDetails(), andgetCollectionTokens() - Token Operations:
unlinkToken()for unlinking tokens from the platform - Contract Interactions:
getTransactionReceipt()for retrieving transaction receipts
Changed
- Address generation now uses V2 API endpoint
- Updated documentation and examples for all new features
Initial Release
- Complete TypeScript SDK with full API coverage
- Support for profiles, wallets, addresses, transactions, assets, and withdrawals
- Smart contract interaction capabilities
- Tokenization and NFT management features
- Multi-environment support with comprehensive error handling