|
пре 1 година | |
---|---|---|
.. | ||
migrations | пре 1 година | |
programs | пре 1 година | |
programs_py | пре 2 година | |
tests | пре 1 година | |
.gitignore | пре 2 година | |
.prettierignore | пре 2 година | |
Anchor.toml | пре 2 година | |
Cargo.toml | пре 1 година | |
README.md | пре 2 година | |
package.json | пре 1 година | |
tsconfig.json | пре 1 година |
Make sure to import the Pyth module for Seahorse.
from seahorse.pyth import *
You have to validate a price feed's ID for security reasons, if you want to read the SOL/USD price feed, you can verify the account in the context like this:
price_account.validate_price_feed("SOL/USD")
For more information, visit the Seahorse documentation on Pyth.