-
-
Save decentration/17909d3a2f2636d109548e8e01dbbf7d to your computer and use it in GitHub Desktop.
Blink Metadata Example
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
"Blink": { | |
"8fdac97e-97ce-40ce-8d06-8ad63e122936": { | |
"id": "8fdac97e-97ce-40ce-8d06-8ad63e122936", | |
"type": "action", | |
"icon": "https://bagpipes.io/polkadot-blinks.png", | |
"title": "Blinks for Polkadot", | |
"description": "Here is a test blink to tip some DOT", | |
"label": "", | |
"disabled": false, | |
"links": { | |
"actions": [ | |
{ | |
"label": "stake", | |
"href": "/api/staking/bond", | |
"parameters": [ | |
{ | |
"name": "amountStakedU128", | |
"label": "Amount Staked", | |
"type": "u128", | |
"userEditable": true, | |
"value": "123" | |
}, | |
{ | |
"name": "AccountIdLookUpOf", | |
"label": "AccountId", | |
"type": "AccountId", | |
"userEditable": false | |
} | |
] | |
} | |
] | |
}, | |
"actionType": "stake", | |
"recipient": "", | |
"selectedChain": "polkadot", | |
"selectedAddress": "5HYRyvQ9XvGu9n3GHDqwLbKVruyS2mkCqTMXFKk53GHCXigF", | |
"selectedAddressName": "Decentration Dot", | |
"selectedUserAddress": "5HYRyvQ9XvGu9n3GHDqwLbKVruyS2mkCqTMXFKk53GHCXigF", | |
"selectedAccount": { | |
"address": "5HYRyvQ9XvGu9n3GHDqwLbKVruyS2mkCqTMXFKk53GHCXigF", | |
"genesisHash": null, | |
"name": "Decentration", | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment