Skip to content

Commit

Permalink
Kadena code blocks merge
Browse files Browse the repository at this point in the history
  • Loading branch information
Hactive808 committed Apr 18, 2024
1 parent 49cc62d commit ad09d46
Show file tree
Hide file tree
Showing 13 changed files with 1 addition and 14 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@ A successful call to the `/health-check` endpoint yields a plain text response t
curl --location 'https://api.tatum.io/v3/blockchain/node/kadena-mainnet/{api_key}/health-check' \
--header 'Content-Type: application/json'
```

```typescript
// yarn add @tatumio/tatum

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,6 @@ curl --location --request POST 'https://api.tatum.io/v3/blockchain/node/kadena-m
"payloadHashes": ["hash1", "hash2"]
}'
```

```typescript
// yarn add @tatumio/tatum

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,6 @@ curl --location --request POST 'https://api.tatum.io/v3/blockchain/node/kadena-m
"payloadHashes": ["RClyuyZAacwvPpmLXKbTwrIRXWeUSjiNhJVP2esH8KM", "QxGCAz5AY1Y41nh1yWtgqhKhZ9pPiPRagFdIKNqBH74"]
}'
```

```typescript
// yarn add @tatumio/tatum

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,6 @@ The `/chain/{chain}/block` endpoint allows for retrieving a collection of blocks
curl --location 'https://api.tatum.io/v3/blockchain/node/kadena-mainnet/{api_key}/chainweb/{apiVersion}/{nodeVersion}/chain/{chain}/block?limit={limit}&next={next}&minheight={minheight}&maxheight={maxheight}' \
--header 'Content-Type: application/json'
```

```javascript
// yarn add @tatumio/tatum

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,6 @@ curl --location --request POST 'https://api.tatum.io/v3/blockchain/node/kadena-m
"upper": ["QxGCAz5AY1Y41nh1yWtgqhKhZ9pPiPRagFdIKNqBH74"],
}'
```

```typescript
// yarn add @tatumio/tatum

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,6 @@ curl --location --request POST 'https://api.tatum.io/v3/blockchain/node/kadena-m
"upper": ["QxGCAz5AY1Y41nh1yWtgqhKhZ9pPiPRagFdIKNqBH74"],
}'
```

```typescript
// yarn add @tatumio/tatum

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,6 @@ A successful call to the `/chain/{chain}/hash` endpoint returns a JSON object co
curl --location 'https://api.tatum.io/v3/blockchain/node/kadena-mainnet/{api_key}/chainweb/{apiVersion}/{nodeVersion}/chain/{chain}/hash?limit={limit}&next={next}&minheight={minheight}&maxheight={maxheight}' \
--header 'Content-Type: application/json'
```

```typescript
// yarn add @tatumio/tatum

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,6 @@ A successful call to this endpoint returns the requested block header. The heade
curl --location 'https://api.tatum.io/v3/blockchain/node/kadena-mainnet/{api_key}/chainweb/{apiVersion}/{nodeVersion}/chain/{chain}/header/{blockHash}' \
--header 'Content-Type: application/json'
```

```typescript
// yarn add @tatumio/tatum

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,6 @@ A successful call to this endpoint returns a JSON object containing the followin
curl --location 'https://api.tatum.io/v3/blockchain/node/kadena-mainnet/{api_key}/chain/{chain}/header?limit={limit}&next={next}&minheight={minheight}&maxheight={maxheight}' \
--header 'Content-Type: application/json'
```

```typescript
// yarn add @tatumio/tatum

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,6 @@ A successful call to this endpoint returns the payload with transaction outputs
curl --location 'https://api.tatum.io/v3/blockchain/node/kadena-mainnet/{api_key}/chainweb/{apiVersion}/{nodeVersion}/chain/{chain}/payload/{payloadHash}/outputs' \
--header 'Content-Type: application/json'
```

```typescript
// yarn add @tatumio/tatum

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,7 @@ A successful request to the `/cut` endpoint returns the current cut of the Kaden
curl --location 'https://api.tatum.io/v3/blockchain/node/kadena-mainnet/{api_key}/chainweb/{apiVersion}/{nodeVersion}/cut' \
--header 'Content-Type: application/json' \
```

```typescript JS SDK
```typescript
// yarn add @tatumio/tatum

import { TatumSDK, Kadena, Network } from "@tatumio/tatum";
Expand Down
1 change: 0 additions & 1 deletion v1.0/RPC Nodes/rpc-others/rpc-kadena/rpc-kadena-getinfo.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,6 @@ A successful call to the `/info` endpoint returns a JSON object containing the f
curl --location 'https://api.tatum.io/v3/blockchain/node/kadena-mainnet/{api_key}/chainweb/{apiVersion}/{nodeVersion}/info' \
--header 'Content-Type: application/json'
```

```typescript
// yarn add @tatumio/tatum

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,6 @@ A successful call to this endpoint returns the payload data of the specified blo
curl --location 'https://api.tatum.io/v3/blockchain/node/kadena-mainnet/{api_key}/chainweb/{apiVersion}/{nodeVersion}/chain/{chain}/payload/{payloadHash}' \
--header 'Content-Type: application/json'
```

```typescript
// yarn add @tatumio/tatum

Expand Down

0 comments on commit ad09d46

Please sign in to comment.