FireTax/chains/example.py

36 lines
686 B
Python
Raw Permalink Normal View History

2024-11-28 14:05:27 +11:00
import json
import requests
# Chain Data
info = {
"name": "Example Chain",
"description": "This is a plugin to be used as an example",
"version": "1.0",
"author": "Nathan.Woodburn/"
}
# Functions
functions = {
"search":{
"name": "Search Owned",
"type": "default",
"description": "Search for owned domains containing a string",
"params": {
"search": {
"name":"Search string",
"type":"text"
}
},
"returns": {
"domains":
{
"name": "List of owned domains",
"type": "list"
}
}
}
}