Contract Templates
List all contract templates
Return minimal representation of all the contract templates available for the workspace. Endpoint Permission: Admin, Non-Signing Admin, Signer, Approver, Editor, Viewer.
get/tokenization/templates
Request
- Base URLhttps://api.fireblocks.io/v1
- Authnone declared
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Query parameters
limitnumber
Items per page (max 100)
offsetnumber
Paging offset
pageCursorstring
Page cursor to get the next page
pageSizenumber
Number of items per page, requesting more then max will return max items
type'FUNGIBLE_TOKEN' | 'NON_FUNGIBLE_TOKEN' | 'TOKEN_UTILITY'
The type of the contract templates you wish to retrieve. Can accept one type, more or none
initializationPhase'ON_DEPLOYMENT' | 'POST_DEPLOYMENT'
For standalone contracts use ON_DEPLOYMENT and for contracts that are behind proxies use POST_DEPLOYMENT
Response
List of contract templates was returned successfully
Example response
{
"data": [
{
"id": "b70701f4-d7b1-4795-a8ee-b09cdb5b850d",
"name": "My Contract",
"description": "an ERC20 implementation",
"isPublic": true,
"canDeploy": true,
"owner": "b70701f4-d7b1-4795-a8ee-b09cdb5b850d",
"vendor": {
"id": "b70701f4-d7b1-4795-a8ee-b09cdb5b4453",
"name": "Fireblocks"
}
}
],
"next": "eJ0eXAiOiJKV1QiLCJhbGcOiJIUzI1NiJ9"
}Changes
No recorded changes to this operation across all 1 revision of this API.