Skip to main content

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/json
required

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

Content type
application/json
{
  • "allow_forced_transfer": false,
  • "allow_governance_control": true,
  • "marker_options": {
    },
  • "marker_type": "MARKER_TYPE_COIN",
  • "net_asset_value": { },
  • "required_attributes": [ ]
}

Response samples

Content type
application/json
{
  • "tx_hash": "3ea1b237f303455d1e7c04fc128168cf9a6b903759b8b06bc05315e9333da1ae",
  • "height": 18621389,
  • "denom": "ntesting",
  • "address": "tp1zu2l24n0sl7k0arwgf3dg4zs742lede933w7vm"
}

Transfer markers

Authorizations:
BearerAuth
Request Body schema: application/json
required

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
required
Array of objects (Coins)

The amount of coins to send.

to_address
required
string

The address to send the funds to.

type
required
string
Value: "bank_send"

Responses

Request samples

Content type
application/json
{
  • "operations": [
    ]
}

Response samples

Content type
application/json
{
  • "tx_hash": "3ea1b237f303455d1e7c04fc128168cf9a6b903759b8b06bc05315e9333da1ae",
  • "height": 18621389
}