Marker Lifecycle (Tx)
Blockvault Marker Lifecycle Tx (v1.0.0)
Download OpenAPI specification:Download
API Documentation for Blockvault Marker Lifecycle Tx
Create a marker
Authorizations:
BearerAuth
Request Body schema: application/jsonrequired
Create marker of well known option types
| allow_forced_transfer | boolean Whether an admin can transfer restricted coins from a 3rd-party account without their signature |
| allow_governance_control | boolean Default: true Indicates that governance based control is allowed for this marker |
required | whole_ownership (object) or fractional_ownership (object) or custom (object) (CreateMarkerOptions) |
| marker_type required | string (MarkerType) Enum: "MARKER_TYPE_UNSPECIFIED" "MARKER_TYPE_COIN" "MARKER_TYPE_RESTRICTED" |
null or NetAssetValue (object) | |
| required_attributes | Array of strings List of required attributes on restricted marker in order to send and receive transfers if sender does not have transfer authority |
Responses
Request samples
- Payload
Content type
application/json
{- "allow_forced_transfer": false,
- "allow_governance_control": true,
- "marker_options": {
- "type": "whole_ownership",
- "denom": "ntesting",
- "initial_holder_address": "tp1tledwnl9zsgcqynmjzmp8f3j25l0rj7hvx4g22"
}, - "marker_type": "MARKER_TYPE_COIN",
- "net_asset_value": { },
- "required_attributes": [ ]
}Response samples
- 201
- 400
- 401
- 404
Content type
application/json
{- "tx_hash": "3ea1b237f303455d1e7c04fc128168cf9a6b903759b8b06bc05315e9333da1ae",
- "height": 18621389,
- "denom": "ntesting",
- "address": "tp1zu2l24n0sl7k0arwgf3dg4zs742lede933w7vm"
}Transfer markers
Authorizations:
BearerAuth
Request Body schema: application/jsonrequired
Performs one or more marker transfer operations
required | Array of objects or objects or objects or objects or objects (MarkerTransferOperation) List of marker transfer operations. | ||||||
Array One of
| |||||||
Responses
Request samples
- Payload
Content type
application/json
{- "operations": [
- {
- "type": "bank_send",
- "to_address": "tp19n4rs3lsdx4j2m57ahnurfxq7rmpmzgzer6nkc",
- "amount": [
- {
- "amount": "100",
- "denom": "nhash"
}
]
}
]
}Response samples
- 200
- 400
- 401
- 404
Content type
application/json
{- "tx_hash": "3ea1b237f303455d1e7c04fc128168cf9a6b903759b8b06bc05315e9333da1ae",
- "height": 18621389
}