Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@pendulum-chain/type-definitions

Package Overview
Dependencies
Maintainers
4
Versions
19
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@pendulum-chain/type-definitions - npm Package Compare versions

Comparing version 0.3.7 to 0.3.8

20

json/rpc.json

@@ -176,2 +176,22 @@ {

"section": "oracle"
},
"getExchangeRate": {
"description": "Get the exchange rate of the given currencyId to USD",
"params": [
{
"name": "currencyId",
"type": "SpacewalkPrimitivesCurrencyId"
},
{
"name": "at",
"type": "BlockHash",
"isHistoric": true,
"isOptional": true
}
],
"type": "UnsignedFixedPoint",
"isSubscription": false,
"jsonrpc": "oracle_getExchangeRate",
"method": "getExchangeRate",
"section": "oracle"
}

@@ -178,0 +198,0 @@ },

1

json/types.json

@@ -8,2 +8,3 @@ {

},
"UnsignedFixedPoint": "u128",
"SpacewalkPrimitivesCurrencyId": {

@@ -10,0 +11,0 @@ "_enum": {

@@ -179,2 +179,22 @@ {

"section": "oracle"
},
"getExchangeRate": {
"description": "Get the exchange rate of the given currencyId to USD",
"params": [
{
"name": "currencyId",
"type": "SpacewalkPrimitivesCurrencyId"
},
{
"name": "at",
"type": "BlockHash",
"isHistoric": true,
"isOptional": true
}
],
"type": "UnsignedFixedPoint",
"isSubscription": false,
"jsonrpc": "oracle_getExchangeRate",
"method": "getExchangeRate",
"section": "oracle"
}

@@ -475,2 +495,3 @@ },

},
"UnsignedFixedPoint": "u128",
"SpacewalkPrimitivesCurrencyId": {

@@ -687,2 +708,22 @@ "_enum": {

"section": "oracle"
},
"getExchangeRate": {
"description": "Get the exchange rate of the given currencyId to USD",
"params": [
{
"name": "currencyId",
"type": "SpacewalkPrimitivesCurrencyId"
},
{
"name": "at",
"type": "BlockHash",
"isHistoric": true,
"isOptional": true
}
],
"type": "UnsignedFixedPoint",
"isSubscription": false,
"jsonrpc": "oracle_getExchangeRate",
"method": "getExchangeRate",
"section": "oracle"
}

@@ -983,2 +1024,3 @@ },

},
"UnsignedFixedPoint": "u128",
"SpacewalkPrimitivesCurrencyId": {

@@ -985,0 +1027,0 @@ "_enum": {

@@ -33,2 +33,17 @@ declare const _default: {

};
getExchangeRate: {
description: string;
params: ({
name: string;
type: string;
isHistoric?: undefined;
isOptional?: undefined;
} | {
name: string;
type: string;
isHistoric: boolean;
isOptional: boolean;
})[];
type: string;
};
};

@@ -39,2 +54,3 @@ types: {

};
UnsignedFixedPoint: string;
};

@@ -41,0 +57,0 @@ typesAlias: {};

@@ -40,2 +40,15 @@ "use strict";

type: 'BalanceWrapper'
},
getExchangeRate: {
description: 'Get the exchange rate of the given currencyId to USD',
params: [{
name: 'currencyId',
type: 'SpacewalkPrimitivesCurrencyId'
}, {
name: 'at',
type: 'BlockHash',
isHistoric: true,
isOptional: true
}],
type: 'UnsignedFixedPoint'
}

@@ -46,3 +59,4 @@ },

amount: 'String'
}
},
UnsignedFixedPoint: 'u128'
},

@@ -49,0 +63,0 @@ typesAlias: {}

2

package.json
{
"name": "@pendulum-chain/type-definitions",
"version": "0.3.7",
"version": "0.3.8",
"description": "Polkadot.js type definitions for pendulum Network",

@@ -5,0 +5,0 @@ "main": "index.js",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc