Other

Miscellaneous utility endpoints of the B2BINPAY DeFi API

This section groups endpoints that do not belong to a specific resource area.

Smart contract versions

Use this endpoint to retrieve metadata for a given smart contract version, such as the version string and supported features. The versionId value is returned by account-related endpoints as part of the deployment information.

GET
/api/v1/public/smart-contract-versions/{versionId}

Authorization

ApiKeyAuth
x-api-key<token>

Provide API key in X-API-Key header

In: header

Path Parameters

versionId*string
Match^\d+\.\d+\.\d+-(?:evm|tvm-\d+)$
Length1 <= length

Response Body

application/json

curl -X GET "https://example.com/api/v1/public/smart-contract-versions/1.1.0-evm"
{  "id": "string",  "version": "string",  "networkType": "evm",  "accountAbi": [    null  ],  "isLatest": true,  "createdAt": "2025-01-01T00:00:00Z"}
Empty

Zuletzt aktualisiert am