Light mode version of Land Your Home
V1Chains

Post Chain Link

POST
/v1/chains/{chainId}/links

Links two existing transactions inside this chain: transactionId depends on dependencyId. Needs chainNode.canEdit on both, at least one must already be in the chain, and neither may be in another chain (merge those instead). Linking the same pair again returns the existing link (201 with the same linkId). The executed request uses transactions the user has no permission on, so it returns 403 forbidden; the success states are examples.

Required variables:

  • baseUrl
  • apiKey (needs chains:write)
  • userToken
  • newChainId

Path Parameters

chainId*string

Response Body

application/json

application/json

application/json

application/json

curl -X POST "https://example.com/v1/chains/string/links"
{  "data": {    "linkId": "87018a5a-87c3-4dc8-ab28-30cefdaaca9c"  }}