Global variables
interface Window {
// Sentre
sentre: {
wallet?: import('@senswap/sen-js').WalletInterface
lamports: import('@senswap/sen-js').Lamports
splt: import('@senswap/sen-js').SPLT
swap: import('@senswap/sen-js').Swap
}
// Utility
notify: ({ type, description, onClick }: SentreNotification) => void
message: ({ type, description, onClick }: SentreMessage) => void
}Global sentre
window.sentre = {
wallet?: import('@senswap/sen-js').WalletInterface
lamports: import('@senswap/sen-js').Lamports
splt: import('@senswap/sen-js').SPLT
swap: import('@senswap/sen-js').Swap
}Property
Type
Description
Global notification
API
Property
Type
Description
Examples
Last updated